Constructor JEditorPane(String type, String text)
Member of:
javax.swing.JEditorPane
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
getContentPane().add(new JEditorPane("text/html", "
Blood Ball
v " + BloodBall.VERSION + "
"), BorderLayout.CENTER);
2
licensePane = new JEditorPane("text/plain", "license file not found");
3
JEditorPane htmlPane = new JEditorPane("text/html","");
4
scriptTextPane = new JEditorPane("text/plain", "");
5
jEditorPane = new JEditorPane ( "text/html", newsHTML );
6
text = new JEditorPane("text/html", "");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.