Copy/paste to/from an HTMLDocument
JosAHNov 19 2007 — edited Nov 21 2007Greetings,
see the topic title; when I copy/paste to from an HTMLDocument (using a JEditorPane),
the results are terrible. Copying and pasting does work in a way but all formatting is
lost. I decided to dig into the Clipboard class and its compadres and then I got
lost again in the documentation. Basically I want HTML test to be copied as
plain text and I want plain text to be pasted back in the document.
I can't believe it should be that complicated after I read the API docs so I sure must've
got lost in the documentation again. Can anyone please guide me in the right direction?
kind regards,
Jos