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$NoFocusButton.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  656 b   |  26 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import javax.swing.AbstractButton;
  4. import javax.swing.JButton;
  5.  
  6. class BasicInternalFrameTitlePane$NoFocusButton extends JButton {
  7.    // $FF: synthetic field
  8.    private final BasicInternalFrameTitlePane this$0;
  9.  
  10.    public BasicInternalFrameTitlePane$NoFocusButton(BasicInternalFrameTitlePane var1) {
  11.       this.this$0 = var1;
  12.       ((AbstractButton)this).setFocusPainted(false);
  13.    }
  14.  
  15.    public boolean isFocusTraversable() {
  16.       return false;
  17.    }
  18.  
  19.    public void requestFocus() {
  20.    }
  21.  
  22.    public boolean isOpaque() {
  23.       return true;
  24.    }
  25. }
  26.