What are some situations that you would use XHTMLRenderer (flying saucer) over JTextPane with a HTMLDocument and vice versa? Is it mostly a matter of preference or are there certain cases that one is a more natural choice?
Asked
Active
Viewed 198 times
1 Answers
1
An HTMLDocument
is part of the standard Java library, but it is limited to HTML 3.2. In contrast, Flying Saucer is an external dependency, but it includes "Strong support for the CSS 2.1 specification."

trashgod
- 203,806
- 29
- 246
- 1,045