home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / swing / SystemEventQueueUtilities$TimerQueueRestart.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  677 b   |  28 lines

  1. package javax.swing;
  2.  
  3. class SystemEventQueueUtilities$TimerQueueRestart implements Runnable {
  4.    boolean attemptedStart;
  5.  
  6.    private SystemEventQueueUtilities$TimerQueueRestart() {
  7.    }
  8.  
  9.    public synchronized void run() {
  10.       if (!this.attemptedStart) {
  11.          TimerQueue var1 = TimerQueue.sharedInstance();
  12.          synchronized(var1) {
  13.             if (!var1.running) {
  14.                var1.start();
  15.             }
  16.          }
  17.  
  18.          this.attemptedStart = true;
  19.       }
  20.  
  21.    }
  22.  
  23.    // $FF: synthetic method
  24.    SystemEventQueueUtilities$TimerQueueRestart(SystemEventQueueUtilities.1 var1) {
  25.       this();
  26.    }
  27. }
  28.