Example #1
0
 /** Deletes the selected text from the text area and places it into the clipboard. */
 public void cut() {
   if (editable) {
     copy();
     setSelectedText("");
   }
 }