home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Component;
- import java.awt.event.ActionEvent;
- import java.awt.event.KeyAdapter;
- import java.awt.event.KeyEvent;
-
- final class WButton$1 extends KeyAdapter {
- // $FF: synthetic field
- private final Component val$t;
- // $FF: synthetic field
- private final WButton this$0;
-
- public void keyPressed(KeyEvent var1) {
- if (var1.getKeyCode() == 10 && this.this$0.isEnabled()) {
- this.val$t.dispatchEvent(new ActionEvent(this.val$t, 1001, ""));
- }
-
- }
-
- // $FF: synthetic method
- WButton$1(Component var1, WButton var2) {
- this.val$t = var1;
- this.this$0 = var2;
- }
- }
-