I\'ve recently added a console dialog to my program to make catching bugs easier. This is currently accessible through a JMenuItem and has keyboard shortcut \'Ctrl+L\'.
You should use the key bindings API: http://docs.oracle.com/javase/tutorial/uiswing/misc/keybinding.html
Set accelerator key not to menu, but to the action behind the menu: getInputMap(WHEN_IN_FOCUSED_WINDOW).put( acceleratorKey, actionname);