This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Don't want to show the panel building

 
Steve Wood
Ranch Hand
Posts: 137
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

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.

Cheers,

Steve
 
Michael Dunn
Ranch Hand
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ensure setVisible() is coded after the panel is constructed
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic