debugger/debug_ui_tools_swing/src/main/com/thesett/aima/logic/fol/wam/debugger/uifactory/impl/SwingMainWindow.java
public void setKeyShortcut(KeyStroke keyCombination, String actionName, Runnable action)
    {
        frame.getRootPane().getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(keyCombination, actionName);
        frame.getRootPane().getActionMap().put(actionName, new RunnableAction(action));
    }
public void setKeyShortcut(KeyStroke keyCombination, String actionName, Runnable action)
    {
        frame.getRootPane().getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(keyCombination, actionName);
        frame.getRootPane().getActionMap().put(actionName, new RunnableAction(action));
    }
public void setKeyShortcut ( KeyStroke keyCombination , String actionName , Runnable action ) { frame . getRootPane ( ) . getInputMap ( JComponent . WHEN_ANCESTOR_OF_FOCUSED_COMPONENT ) . put ( keyCombination , actionName ) ; frame . getRootPane ( ) . getActionMap ( ) . put ( actionName , new RunnableAction ( action ) ) ; }
{@inheritDoc}
{