revalidate(); repaint();
  public void setSelectionModel(TreeSelectionModel model)  {    if (selectionModel == model)      return;        TreeSelectionModel oldValue = selectionModel;    selectionModel = model;    firePropertyChange(SELECTION_MODEL_PROPERTY, oldValue, model);  }