if (leadSelectionPath == path)
if (selectionModel != null) { TreePath oldValue = selectionModel.getLeadSelectionPath(); if (path.equals(oldValue))
  public void setLeadSelectionPath(TreePath path)  {    if (leadSelectionPath == path)      return;        TreePath oldValue = leadSelectionPath;    leadSelectionPath = path;    firePropertyChange(LEAD_SELECTION_PATH_PROPERTY, oldValue, path);  }