/** Create a new instance */ WrapperInplaceEditor(EnhancedPropertyEditor enh) { this.enh = enh; setLayout(new BorderLayout()); getInputMap(WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "enter"); //NOI18N getActionMap().put("enter", new EnterKbdAction()); //NOI18N }
/** Create a new instance */ WrapperInplaceEditor(EnhancedPropertyEditor enh) { this.enh = enh; setLayout(new BorderLayout()); getInputMap(WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put( KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "enter"); //NOI18N getActionMap().put("enter", new EnterKbdAction()); //NOI18N }
/** Create a new instance */ WrapperInplaceEditor(EnhancedPropertyEditor enh) { this.enh = enh; setLayout(new BorderLayout()); getInputMap(WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put( KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "enter"); //NOI18N getActionMap().put("enter", new EnterKbdAction()); //NOI18N }