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

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