setSelectedItem(dataModel.getElementAt(index));
if(index < -1 || index >= dataModel.getSize()) {  throw new IllegalArgumentException("illegal index: " + index); } else {  setSelectedItem((index == -1) ? null : dataModel.getElementAt(index)); }
  public void setSelectedIndex(int index)  {    // FIXME: if index == -1 then nothing should be selected    setSelectedItem(dataModel.getElementAt(index));  }