Morgäähn,
Ach und mal noch was ganz anderes zum Thema JTextPane.
Wie kann ich eigentlich Text mittels HTML formatieren, vorallem so,
dass ich es auch angezeigt bekomme?
für sowas gibt's in Java JEditorPane und HTMLKit:
import javax.swing.text.html.*;
JEditorPane editorPane = new JEditorPane();
HTMLEditorKit htmlKit = new HTMLEditorKit();
editorPane.setEditorKit(htmlKit);
editorPane.setText(<html>...</html>);
Gruß,
Arthur D.
--
>> So long, and thanks for all the fish. <<
>> So long, and thanks for all the fish. <<