What's the difference between a JEditorPane and a JTextPane?

Thomas Buck

JEditorPane supports display/editing of HTML and RTF content and can be extended by creating your own EditorKit(s) to support your needs.

JTextPane is an extension of JEditorPane which provides word processing features like fonts, text styles, colors, etc. If you need to do heavy-duty text processing, this is the class you'll need.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact