home *** CD-ROM | disk | FTP | other *** search
/ Borland JBuilder 6 / jbuilder6.iso / IBM VisualAge for Java Enterprise v4.0 Retail / ivj40 / setup / IDE.Cab / F77532_SmartGuideKeyHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-04-25  |  796 b   |  22 lines

  1. package com.ibm.ivb.sguides;
  2.  
  3. import java.awt.event.KeyAdapter;
  4. import java.awt.event.KeyEvent;
  5.  
  6. class SmartGuide$KeyHandler extends KeyAdapter {
  7.    // $FF: synthetic field
  8.    private final SmartGuide this$0;
  9.  
  10.    public void keyPressed(KeyEvent var1) {
  11.       if (var1.getKeyCode() == 27) {
  12.          this.this$0.executeCancel();
  13.       }
  14.  
  15.    }
  16.  
  17.    SmartGuide$KeyHandler(SmartGuide var1) {
  18.       this.this$0 = var1;
  19.       this.this$0 = var1;
  20.    }
  21. }
  22.