home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / kepler / kepler.jar / WTextArea$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-11-22  |  699 b   |  23 lines

  1. import java.awt.Color;
  2. import java.awt.event.FocusEvent;
  3. import java.awt.event.FocusListener;
  4.  
  5. class WTextArea$1 implements FocusListener {
  6.    // $FF: synthetic field
  7.    private final WTextArea this$0;
  8.  
  9.    WTextArea$1(WTextArea var1) {
  10.       this.this$0 = var1;
  11.    }
  12.  
  13.    public void focusGained(FocusEvent var1) {
  14.       this.this$0.borderColor = Color.black;
  15.       this.this$0.repaint();
  16.    }
  17.  
  18.    public void focusLost(FocusEvent var1) {
  19.       this.this$0.borderColor = this.this$0.background;
  20.       this.this$0.repaint();
  21.    }
  22. }
  23.