checkSelection();
  public void setSelectionModel(ListSelectionModel s)  {    if (s == null)      throw new IllegalArgumentException();    ListSelectionModel tmp = selectionModel;    if (tmp != null)      tmp.removeListSelectionListener(this);    if (s != null)      s.addListSelectionListener(this);    selectionModel = s;  }