views:

18

answers:

0

The basic setup for what I want to do is an JEditorPane with text/html content(in Java) and an editable IFRAME running in FireFox. Copying the HTML content form Java to other applications (including WebKit-Browsers btw) works, as does pasting HTML content from other applications into the IFRAME in FireFox - the only thing hat doesn't work is copying from Java to the IFRAME in FireFox(Version 3.6.8 btw).

Is there any special clipboard format I have to use in Java? Or a certain data flavor which is required by FireFox? Any hint would be appreciated.

What I've founds out is that FireFox requests the clipboard content as type text/html;String and text/plain;String - but nothing is inserted into the IFRAME and there's no error message anywhere.