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)
    {
        
        String keyString = modifiersToString(modifiers);

        
        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}
{