how do I write code that will use the clip board to cut copy and paste text into or from a input textArea?
Joined: May 10, 2003
Hi, I think every swing text components supports copy/paste/cut to and from clipboard. There's cut(), copy() and paste() methods in JTextArea. For corresponding Action classes, see DefaultEditorKit.cutAction, DefaultEditorKit.copy action. Text cut/copied from textfield goes to the clipboard automatically.