File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Don't want to show the panel building
Joined: Jan 08, 2003
Jan 06, 2006 14:47:00
I've noticed that sometimes when you create a JPanel and fill it with components, it is shown to the end user.
What I mean is. Even though the operation happens very quickly, you can still see the system constructing the panel.
Is there a way to stop this from happening? Am I doing something in the wrong order?
Any help is much appreciated.
Joined: Jun 09, 2003
Jan 06, 2006 17:05:00
ensure setVisible() is coded after the panel is constructed
I agree. Here's the link:
subject: Don't want to show the panel building
quick question about Frame
Client view object
about add component to panel
Hide and unhide panel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014