setTree(tree); this.renderer = renderer;  if (editor == null) editor = createTreeCellEditor(); realEditor = editor;  configureEditingComponent(tree, renderer, realEditor);  editingContainer = createContainer(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setFont(defaults.getFont("Tree.font")); setBorderSelectionColor(defaults.getColor("Tree.selectionBorderColor")); editingIcon = renderer.getIcon(); timer = new javax.swing.Timer(1200, this);
this(tree, renderer, null);
  public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer,                               TreeCellEditor editor)  {    setTree(tree);    this.renderer = renderer;        if (editor == null)      editor = createTreeCellEditor();    realEditor = editor;        configureEditingComponent(tree, renderer, realEditor);        editingContainer = createContainer();    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    setFont(defaults.getFont("Tree.font"));    setBorderSelectionColor(defaults.getColor("Tree.selectionBorderColor"));    editingIcon = renderer.getIcon();    timer = new javax.swing.Timer(1200, this);  }