@Override public void copy() { editor.copy(); }
@Override public void copy() { editor.copy(); }
public void actionPerformed(ActionEvent evt) { JEditTextArea textArea = getTextArea(evt); textArea.copy(); } }
/** * Deletes the selected text from the text area and places it * into the clipboard. */ public void cut() { if(editable) { copy(); setSelectedText(""); } }