home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / plaf / basic / BasicFileChooserUI$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  808 b   |  30 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import javax.swing.JButton;
  4. import javax.swing.JComponent;
  5. import javax.swing.event.AncestorEvent;
  6. import javax.swing.event.AncestorListener;
  7.  
  8. class BasicFileChooserUI$1 implements AncestorListener {
  9.    // $FF: synthetic field
  10.    private final BasicFileChooserUI this$0;
  11.  
  12.    BasicFileChooserUI$1(BasicFileChooserUI var1) {
  13.       this.this$0 = var1;
  14.    }
  15.  
  16.    public void ancestorAdded(AncestorEvent var1) {
  17.       JButton var2 = this.this$0.getApproveButton(this.this$0.getFileChooser());
  18.       if (var2 != null) {
  19.          ((JComponent)var2).requestFocus();
  20.       }
  21.  
  22.    }
  23.  
  24.    public void ancestorRemoved(AncestorEvent var1) {
  25.    }
  26.  
  27.    public void ancestorMoved(AncestorEvent var1) {
  28.    }
  29. }
  30.