Skip to content
Eric Bodden edited this page Mar 15, 2015 · 1 revision
package javax.swing.text.html;
HTMLEditorKit.class
  protected Parser getParser() {
	if (defaultParser == null) {
	    try {
                Class c = Class.forName("javax.swing.text.html.parser.ParserDelegator");
                defaultParser = (Parser) c.newInstance();
	    } catch (Throwable e) {
	    }
	}
	return defaultParser;
    }
Clone this wiki locally