Re: Problem with awt.Panel

2003-05-12 Thread Tom Badran
On Monday 12 May 2003 11:06 am, Nicolas Kratz wrote: > Did you call validate() after adding the new component? If resizing the > window shows the new Panel subclass, that is most likely the solution. Brilliant, i was calling inValidate() not validate(). The lesson here is don't drink copious amou

Re: Problem with awt.Panel

2003-05-12 Thread Nicos Panayides
Hi, On Mon, 2003-05-12 at 02:33, Tom Badran wrote: > I have an application that uses a borderlayout, where the BorderLayout.CENTER > component is a Panel reference, to a class instance that is a subclass of > Panel. The initial add is fine, and it all works well, however if i do a > remove(Pane

Re: Problem with awt.Panel

2003-05-12 Thread Nicolas Kratz
On Mon, May 12, 2003 at 10:33:18AM +0100, Tom Badran wrote: > I have an application that uses a borderlayout, where the BorderLayout.CENTER > component is a Panel reference, to a class instance that is a subclass of > Panel. The initial add is fine, and it all works well, however if i do a > rem

Problem with awt.Panel

2003-05-12 Thread Tom Badran
I have an application that uses a borderlayout, where the BorderLayout.CENTER component is a Panel reference, to a class instance that is a subclass of Panel. The initial add is fine, and it all works well, however if i do a remove(Panel) then change the Panel reference to a different subclass o