Forums Register Login

making GlassPane visible

+Pie Number of slices to send: Send
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
Let's get him boys! We'll make him read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1053 times.
Similar Threads
JFrame, Image/Graphics and JInternalFrame
Need help with this code
why does this happen URGENT
Urgent !! How to set the size of a glasspane
[Q] mechanism of GlassPane
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:53:20.