Java - AWT/Swing

HTML darstellen mit JEditorPane

Die Klasse JEditorPane ermöglicht es auf ganz einfache Weise HTML darzustellen.


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