2

I'm using JEditorPane to display HTML right now, but it supports only HTML4 and CSS1 and it has problem with UTF-8 encoding. Is there anything better to render HTML? I don't want to import webkit to my project because of its size. Can you recommend me something? It would be nice if I won't need to import any lib.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
xaxes
  • 397
  • 9
  • 21

1 Answers1

2

SwingBox is a Swing component for displaying HTML documents. It is based on CSSBox library which is pure Java - you don't need to link Webkit or other native libraties. A demo is included in the package. This question has been asked several times here, see for example this quiestion for more references.

Community
  • 1
  • 1
radkovo
  • 868
  • 6
  • 10