This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes HTMLEditorKit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "HTMLEditorKit" Watch "HTMLEditorKit" New topic
Author

HTMLEditorKit

oLi Bou
Greenhorn

Joined: Jul 03, 2002
Posts: 23
hi all,
I'm trying to output some HTML using the HTMLEditorKit.
to do this, i use the HTMLEditorKit.read(Reader, Document, int) method like this :

unfortunately, the output is not like i'd like to .. i'd like to see the "bold" parts if there is a <b> tag around some word.
Instead of this output, I get this one :

could you plz help me ?
thx in advance, oLi


--learn every day--
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTMLEditorKit
 
Similar Threads
Format xml file output using DOM
Creating a reader on a string of text
UnOrderedList
JEditorPane HTML parsing problem with about CSS
Text Plain and JTextPane