Posted by Frank Hale on 2000-06-26
I've got a string in my program which contains HTML and I want to set the text of a JEditorPane to show this HTML. The problem is when I use setText all I get is the HTML text displaying on the JEditorPane, to be more specific I get only HTML tags and content showing in the JEditorPane not formatted HTML content. How can I set the text of a JEditorPane so that it shows HTML formatted data. The key is I want have a string in my program which contains the HTML. I don't want to load in a URL or save it to a file. --- ICQ# 7205161 http://sapphire.sourceforge.net - Yet Another X11 Window Manager Send FREE Greetings for Father's Day--or any day! Click here: http://www.whowhere.lycos.com/redirects/fathers_day.rdct
Previous post | Next post | Timeline | Home