[2172] in java-interest
hideing/showing awt components
daemon@ATHENA.MIT.EDU (Mary White)
Tue Sep 26 15:40:29 1995
Date: Tue, 26 Sep 1995 11:50:38 -0400
From: mtw@kodak.com (Mary White)
To: java-interest@java.sun.com
Hello,
In my current implementation I have a number of different
interfaces I need to present to the user. My strategy was
to create one Applet with n number of awt components and
just show and hide depending on where I am in the implementation
of the program.
So in my action method I determine which button was selected
perform the appropriate action and then try to hide the
displayed components and show the next interface. However
it will not hide the displayed components.
If I eliminate the call to display the new interface and just
hide the displayed components then it works fine. But once I add
the call to display the new interface, the old components no longer
hide and the new ones are never displayed.
Do I need to sleep or something. Not sure what is going on?
Any help would be greatly appreciated!!
Thanks
Mary White
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com