¡@

Home 

java Programming Glossary: checkingmessagesgui

Why does InvokeLater cause my JFrame not to display correctly?

http://stackoverflow.com/questions/1843677/why-does-invokelater-cause-my-jframe-not-to-display-correctly

the following example program. It displays a simple JFrame CheckingMessagesGUI a JFrame with two JLabel s nothing more sleeps for 5 sec then.. 100 100 200 200 System.out.println cmGUI instantiated CheckingMessagesGUI cmGUI new CheckingMessagesGUI System.out.println Set cmGUI visible.. cmGUI instantiated CheckingMessagesGUI cmGUI new CheckingMessagesGUI System.out.println Set cmGUI visible cmGUI.setVisible true cmGUI.validate..