public static void registerContentType(String type,String classname){
  JEditorPane.registerEditorKitForContentType(type,classname);
  CONTENTS.add(type);
}

public static void registerContentType ( String type , String classname ) { JEditorPane . registerEditorKitForContentType ( type , classname ) ; CONTENTS . add ( type ) ; }
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
