JTextComponent has copy, cut and paste methods. You can call them with ctl X, C and V keys or you can add a popup menue and call them in your program. That would apply to all derived classes such as JTextField and JTextArea. Not sure about the HTML classes, though!
The nice thing about Standards is that there are so many to choose from!
Welcome to the Ranch Krsta, In this Tutorial you can see that JEditorPane supports the paste action. I have been able to paste text from Notepad to a JEditorPane displaying an html file; but it did not work with "text" copied from Word. [ February 06, 2004: Message edited by: Jose Botella ]
I have clients who copy from Word to my app's JTextArea ok. Word does use non-UTF-8 characters that show up as little squares, but you could translate them.
The nice thing about Standards is that there are so many to choose from!
I'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad: