StartInplaceEditing (JComponent shortcuts) { StartInplaceEditing action = new StartInplaceEditing(); action.registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_F2, 0)), shortcuts); return action; }