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 / JComboBox$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  690 b   |  29 lines

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