List of usage examples for javax.swing.text.html HTMLEditorKit install
public void install(JEditorPane c)
From source file:org.codinjutsu.tools.jenkins.view.ConfigurationPanel.java
private void initDebugTextPane() { HTMLEditorKit htmlEditorKit = new HTMLEditorKit(); HTMLDocument htmlDocument = new HTMLDocument(); debugTextPane.setEditable(false);/*w w w . j av a 2 s. c o m*/ debugTextPane.setBackground(Color.WHITE); debugTextPane.setEditorKit(htmlEditorKit); htmlEditorKit.install(debugTextPane); debugTextPane.setDocument(htmlDocument); }