Method createEditorKitForContentType(String type)
Return type: javax.swing.text.EditorKit
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 kit = JEditorPane.createEditorKitForContentType("text/plain"); // NOI18N
2 kit = JEditorPane.createEditorKitForContentType("text/plain"); // NOI18N
3 EditorKit kit = JEditorPane.createEditorKitForContentType(mime);
4 kit = JEditorPane.createEditorKitForContentType(PLAIN_TEXT_MIME);
5 EditorKit kit = JEditorPane.createEditorKitForContentType(mime);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.