} else {
else
  public void setSelectedIndex(int index)  {  	if(index < -1 || index >= dataModel.getSize()) {  		// Fails because index is out of bounds.   		throw new IllegalArgumentException("illegal index: " + index);  	} else {  		/* Selects the item at the given index or clears the selection if the  		 * index value is -1.  		 */		setSelectedItem((index == -1) ? null : dataModel.getElementAt(index));  	}  }