Esempio n. 1
0
 public void stop() {
   started = false;
   timer.stop();
   setVisible(false);
   stopper.terminate();
   if (terminateOnClose) {
     System.exit(0);
   }
   gd.setFullScreenWindow(null);
 }
Esempio n. 2
0
 public void start() {
   started = true;
   if (allowAltTab && !debugMode) {
     stopper.start();
   }
   setVisible(true);
   if (SystemUtil.isMac()) {
     gd.setFullScreenWindow(this);
   }
   timer.start();
 }