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 / ProgressMonitor$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  748 b   |  28 lines

  1. package javax.swing;
  2.  
  3. import java.awt.event.WindowAdapter;
  4. import java.awt.event.WindowEvent;
  5.  
  6. class ProgressMonitor$1 extends WindowAdapter {
  7.    boolean gotFocus;
  8.    // $FF: synthetic field
  9.    private final ProgressMonitor.ProgressOptionPane this$1;
  10.  
  11.    ProgressMonitor$1(ProgressMonitor.ProgressOptionPane var1) {
  12.       this.this$1 = var1;
  13.       this.gotFocus = false;
  14.    }
  15.  
  16.    public void windowClosing(WindowEvent var1) {
  17.       this.this$1.setValue((Object)null);
  18.    }
  19.  
  20.    public void windowActivated(WindowEvent var1) {
  21.       if (!this.gotFocus) {
  22.          this.this$1.selectInitialValue();
  23.          this.gotFocus = true;
  24.       }
  25.  
  26.    }
  27. }
  28.