This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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--
 
Consider Paul's rocket mass heater.
 
subject: HTMLEditorKit