Object item = dataModel.getSelectedItem();  if (item == null && getItemCount() != 0) item = getItemAt(0);  return item;
return dataModel.getSelectedItem();
  public Object getSelectedItem()  {    Object item = dataModel.getSelectedItem();    if (item == null && getItemCount() != 0)      item = getItemAt(0);    return item;  }