debugger/debug_ui_tools_swing/src/main/com/thesett/aima/logic/fol/wam/debugger/uifactory/impl/SwingKeyCombinationBuilder.java
public KeyStroke withKey(String key)
    {
        // Extract the modifiers as a specification string.
        String keyString = modifiersToString(modifiers);

        // Reset the modifiers so the builder can be used again.
        modifiers = 0;

        return KeyStroke.getKeyStroke(keyString + key);
    }
public KeyStroke withKey(String key)
    {
        // Extract the modifiers as a specification string.
        String keyString = modifiersToString(modifiers);

        // Reset the modifiers so the builder can be used again.
        modifiers = 0;

        return KeyStroke.getKeyStroke(keyString + key);
    }
public KeyStroke withKey ( String key ) { // Extract the modifiers as a specification string. String keyString = modifiersToString ( modifiers ) ; // Reset the modifiers so the builder can be used again. modifiers = 0 ; return KeyStroke . getKeyStroke ( keyString + key ) ; }
{@inheritDoc}
{