This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Displaying HTML in a JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Displaying HTML in a JTextPane" Watch "Displaying HTML in a JTextPane" New topic
Author

Displaying HTML in a JTextPane

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Are there known HTML tags that will not display properly in a JTextPane? If so are there other classes that would be better to use?

Thanks,
Barry
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
If you want to display HTML, try use JEditorPane. This component displays HTML well.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Displaying HTML in a JTextPane
 
It's not a secret anymore!