I have a program that creates a JFrame and makes it visible. Is there anyway to know when the JFrame is fully drawn and visible? Right now a hacky “wait and pray” method is being used.
I have a program that creates a JFrame and makes it visible. Is there
Share
You could add a
WindowListenerto theJFrame; then whenwindowOpenedis fired, the window should be visible.