home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / SystemEventQueueUtilities$TimerQueueRestart.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  692 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.