예제 #1
0
 public void stop() {
   started = false;
   timer.stop();
   setVisible(false);
   stopper.terminate();
   if (terminateOnClose) {
     System.exit(0);
   }
   gd.setFullScreenWindow(null);
 }
예제 #2
0
 public void start() {
   started = true;
   if (allowAltTab && !debugMode) {
     stopper.start();
   }
   setVisible(true);
   if (SystemUtil.isMac()) {
     gd.setFullScreenWindow(this);
   }
   timer.start();
 }
예제 #3
0
 public void setTimerSpeed(int millisec) {
   timer.setDelay(millisec);
 }