A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
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
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-2015