home *** CD-ROM | disk | FTP | other *** search
/ Australian PC Authority 1999 May / may1999.iso / May / JBUILDER / JSAMPLES.Z / SwingSet$9.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-30  |  1.6 KB  |  22 lines

  1. import com.sun.java.swing.preview.JColorChooser;
  2. import java.awt.Color;
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. final class SwingSet$9 implements ActionListener {
  7.    // $FF: synthetic field
  8.    private final SwingSet this$0;
  9.  
  10.    public void actionPerformed(ActionEvent var1) {
  11.       this.this$0.tabbedPane.setSelectedIndex(this.this$0.toolTipIndex);
  12.       Color var2 = JColorChooser.showDialog(this.this$0, "Color Chooser", this.this$0.getBackground());
  13.       this.this$0.toolTipPanel.setBackground(var2);
  14.       this.this$0.toolTipPanel.repaint();
  15.    }
  16.  
  17.    // $FF: synthetic method
  18.    SwingSet$9(SwingSet var1) {
  19.       this.this$0 = var1;
  20.    }
  21. }
  22.