try pack(), as this will invoke the Layout manager and set the components
to there correct size.
Justin.
Yohans Mendoza wrote:
> hi all,
>
> I have this applet in which the user presses a button and a nuew panel get
> inserted into one of the areas of the applet.
> The problem is that when I ca
Try calling invalidate() and then validate() on the component you're
inserting into.
Nathan
Yohans Mendoza wrote:
>
> hi all,
>
> I have this applet in which the user presses a button and a nuew panel get
> inserted into one of the areas of the applet.
> The problem is that when I call repain
hi all,
I have this applet in which the user presses a button and a nuew panel get
inserted into one of the areas of the applet.
The problem is that when I call repaint() the panel is not added, I have
to resize the window of the applet to be able to see the new panel added.
Do I need to overrid