registerMap.put(type, classname);
registerEditorKitForContentType(type, classname, Thread.currentThread().getContextClassLoader());
  public static void registerEditorKitForContentType(String type,                                                     String classname)    {    registerMap.put(type, classname);    }