File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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--
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTMLEditorKit