tree.setCellEditor(null);
}
  public void cancelCellEditing()  {    if (editingComponent == null)      configureEditingComponent(tree, renderer, realEditor);        timer.stop();    realEditor.cancelCellEditing();    tree.setCellEditor(null);  }