| Author |
cut copy and paste functions
|
Burt Reynolds
Greenhorn
Joined: Nov 26, 2003
Posts: 2
|
|
|
how do I write code that will use the clip board to cut copy and paste text into or from a input textArea?
|
 |
Vikalp Setya
Greenhorn
Joined: May 10, 2003
Posts: 18
|
|
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.
|
Regards,<br />vikalps
|
 |
 |
|
|
subject: cut copy and paste functions
|
|
|