From: Hiroo H. <hir...@co...> - 2005-02-17 04:27:58
|
Eelco> > I've checked in the fix, since this was my fault. The compiler built-in Eelco> > Eclipse does not detect this. Eelco> Eelco> In Eclipse you enable warnings on deprecated methods: Eelco> Window->Preferences->Java->Compiler Eelco> Tab 'Advanced'; change 'Usage of deprecated API' to 'Warning'. Thanks. But I'm also using this default setting. Problem is... /** * If the internal frame is not visible, brings the internal frame to the * front, makes it visible, and attempts to select it. * @deprecated use setVisible(). */ //public void show() { proxy.show(); } /** Causes subcomponents of this frame to be laid out at their preferred size. */ public void pack() { proxy.pack(); } Eclipse does not treat "pack()" deprecated, but Joe's compiler (probably Sun standard compiler) does. I don't know which is correct behavior. -- Hiroo Hayashi |