JWebEngine
I recommend JWebEngine. It is the only one that I know that passes the ACID1 browser test and the mail-acid test. Most other Java HTML editors are based on the javax.swing.text.html.HTMLDocument and have all the same bugs. The support of CSS is very poor with HTMLDocument. JWebEngine has very good support for viewing HTML with CSS.
- Link to the website. There are also online samples.
- Commercial license
- It is very simple to extend. The vendor is using it for many different things like editor, HTML printing engine, showing custom placeholders, etc. There is no problem with the visibility of classes like with the Sun HTMDocument.
- It based on javax.swing.text.JEditorPane or javax.swing.text.JTextPane and you can use it together with third party tools like the spell checker JOrtho.
- It is pure Java and runs on all platform with Java SE 5 or higher. It also run in non-signed applets.