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 / BasicInternalFrameTitlePane$ShowSystemMenuAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  769 b   |  25 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import javax.swing.AbstractAction;
  5.  
  6. class BasicInternalFrameTitlePane$ShowSystemMenuAction extends AbstractAction {
  7.    private boolean show;
  8.    // $FF: synthetic field
  9.    private final BasicInternalFrameTitlePane this$0;
  10.  
  11.    public BasicInternalFrameTitlePane$ShowSystemMenuAction(BasicInternalFrameTitlePane var1, boolean var2) {
  12.       this.this$0 = var1;
  13.       this.show = var2;
  14.    }
  15.  
  16.    public void actionPerformed(ActionEvent var1) {
  17.       if (this.show) {
  18.          this.this$0.windowMenu.doClick();
  19.       } else {
  20.          this.this$0.windowMenu.setVisible(false);
  21.       }
  22.  
  23.    }
  24. }
  25.