Guest User

Untitled

a guest
Jun 25th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public class testGUI {
  2.  
  3. public boolean guiWait;
  4. cookerGUI gui = new cookerGUI();
  5.  
  6. public boolean onStart() {
  7. gui.setVisible(true);
  8. while (guiWait)
  9. sleep(500);
  10. try {
  11. SwingUtilities.invokeAndWait(new Runnable() {
  12.  
  13. public void run() {
  14. cookerGUI gui = new cookerGUI();
  15. }
  16. });
  17. } catch (Throwable e) {
  18. }
  19. return true;
  20. }
  21.  
  22. }
Add Comment
Please, Sign In to add comment