question: public static void registerContentType ( String type , String classname ) { JEditorPane . registerEditorKitForContentType ( type , classname ) ; CONTENTS . add ( type ) ; }
target:  Register the given content type to use the given class name as its kit When this is called, an entry is added into the private HashMap of the registered editors kits.  This is needed so that the SyntaxPane library has it's own registration of all the EditorKits