Hi fellow programmers, I'm trying to figure if there is an easy way to add copy & paste with the system clipboard to my Java application, more concrete to a JEditorFrame in a JInternalFrame? Typically users would copy text written in Word and paste it into my application for ease. From what I've read it's not possible to get simple markup along (like bold, italics etc), I don't suppose this have changed? (the JEditorFrame is used for HTML). I'm grateful for all help and hints. Thomas
I found a solution to this problem which works well with my JEditorPane and that is using these actions: cut-to-clipboard copy-to-clipboard paste-from-clipboard Which is among the 83 actions I get when I asked my JEditorPane which actions it supported when I had contenttype set to "text/html". A more general solution would be better so if anyone knows of another way, please speak out. More details are available if someone needs it. Regards, Thomas
Dinner will be steamed monkey heads with a side of tiny ads.
Free, earth friendly heat - from the CodeRanch trailboss