selectionMode = a;
if (mode < ListSelectionModel.SINGLE_SELECTION || mode > ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) throw new IllegalArgumentException("Unrecognised mode: " + mode); selectionMode = mode;
  public void setSelectionMode(int a)  {    selectionMode = a;  }