Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages
Started by George
Mon, 01 Mar 2004 20:14
JEditorPane question
Author: George
Date: Mon, 01 Mar 2004 20:14
Date: Mon, 01 Mar 2004 20:14
13 lines
1323 bytes
1323 bytes
I want to display email messages in a non-editable JEditorPane. When the message is of type "text/plain" the following works. myEditorPane.setText((String) message.getContent()); // message is a javax.mail.Message object However when the message is of type "text/html" the above approach displays all the html tags along with the message. How can I get the JEditor pane to render HTML content in the way that we normally see in Java Help screens? TIA. George
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads