public boolean replaceClipboardAction(JComponent component, String actionName) {
    """
	Replace the clipboard cut/cut/paste command with this command.
	@param component
	@param actionName
	@return
    """
        Action action = (Action)component.getActionMap().get(actionName);
        if (action != null)
            component.getActionMap().put(actionName, new LinkedClipboardAction(actionName, action));
        return (action != null);
        
    }
public boolean replaceClipboardAction(JComponent component, String actionName)
    {
        Action action = (Action)component.getActionMap().get(actionName);
        if (action != null)
            component.getActionMap().put(actionName, new LinkedClipboardAction(actionName, action));
        return (action != null);
        
    }
public boolean replaceClipboardAction ( JComponent component , String actionName ) { Action action = ( Action ) component . getActionMap ( ) . get ( actionName ) ; if ( action != null ) component . getActionMap ( ) . put ( actionName , new LinkedClipboardAction ( actionName , action ) ) ; return ( action != null ) ; }
Replace the clipboard cut/cut/paste command with this command.
@param component
@param actionName
@return
Replace the clipboard cut / cut / paste command with this command .