Java - AWT/Swing

display HTML with JEditorPane

The class JEditorPane makes it possible to display HTML on a very simple way.


JEditorPane editor = new JEditorPane();
editor.setContentType("text/html");
editor.setEditable(false);
editor.setText("<html><body><p>Hallo World!</p></body></html>");

Eigene Werkzeuge
Werkzeuge

gratis Counter by GOWEB
seit 9.10.2007