Hi everyone again, I seem to be having a bit of a problem with adding and removing Panels outside of the init function in my applet. Since there is alot of code I have put my .java file up on my webspace ... if anyone can help have a look at DealerMain() and see if there is something im doing wrong. The Url for my code is http://members.optushome.com.au/genmail/ Thanks alot! Dan [ June 13, 2002: Message edited by: Marilyn deQueiroz ]
Hi Dan, If you are removing and adding items you will need to tell the parent panel to layout all the changed components. To do this you need to call: revalidate(); This will essentially invalidate() and validate() your parent panel so that your new components show up and look nice. Regards, Manfred.
I claim this furniture in the name of The Ottoman Empire! You can keep this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!