JEditorPane « javax.swing « Java by API






1.new JEditorPane(String URL) ('http://www.java2s.com')
2.new JEditorPane('text/html', 'html string')
3.JEditorPane: addHyperlinkListener(HyperlinkListener listener)
4.JEditorPane: getDocument()
5.JEditorPane: setDocument(Document doc)
6.JEditorPane: setEditable(boolean b)
7.JEditorPane: setPage(URL url)