Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

making GlassPane visible  RSS feed

 
Pres Brawner
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a JFrame.
It has a menu item that creates a glassPane. When I execute the menu option I get the glassPane from the JFrame and add a bunch of stuff to it.
I set the glassPane to visible = true.
I repaint the JFrame.
I complete the actionListener for the menu.
Here's the problem. The glassPane displays, but only after menu command that kicks off the glasspane finishes executing.
Why doesn't the glassPane become visible when I request a repaint of the JFrame?
Why doesn't it make
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!