What is the simplest way to view styled text (e.g. in HTML) in a Java application?

178 views Asked by At

I want to view styled text, for example in html (not html file, just html string). I've tried using JEditorPane but it's so difficult, is there any more simple way?

1

There are 1 answers

1
Arve On BEST ANSWER
JEditorPane.setText(htmlString)

JEditorPane tutorial