DefaultActionGroup () { final DefaultActionGroup entriesActions = new DefaultActionGroup(); final RenameAction rename = new RenameAction(); rename.registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_F6, InputEvent.SHIFT_DOWN_MASK)), this); entriesActions.add(rename); final MergeAction merge = new MergeAction(); merge.registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0)), this); entriesActions.add(merge); final SplitAction split = new SplitAction(); split.registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_F4, 0)), this); entriesActions.add(split); return entriesActions; }