Hi all,

I would like to be able to pass to a JEditorPane a bit of dynamically created HTML which is just a few lines in the Header and an image. But when I run the program, the JEditorPane shows exactly the String that I pass in:
<html>
<body>
etc.

Is there a simple way that I can tell the JEditorPane to display the HTML (without writting about 100+ lines of code) or would I be better off to write the String as a temporary HTML file and then point the JEditorPane to the temporary file.

Thanks in advance for your time.

James D.