JEditorPane and HTML
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:
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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL