Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class testGUI {
- public boolean guiWait;
- cookerGUI gui = new cookerGUI();
- public boolean onStart() {
- gui.setVisible(true);
- while (guiWait)
- sleep(500);
- try {
- SwingUtilities.invokeAndWait(new Runnable() {
- public void run() {
- cookerGUI gui = new cookerGUI();
- }
- });
- } catch (Throwable e) {
- }
- return true;
- }
- }
Add Comment
Please, Sign In to add comment