|
-
JEditorPane and HTML
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks