public synchronized ComboBox<V> remoteItem(int index){
  items.remove(index);
  if (index < selectedIndex) {
    setSelectedIndex(selectedIndex - 1);
  }
 else   if (index == selectedIndex) {
    setSelectedIndex(-1);
  }
  invalidate();
  return this;
}

public synchronized ComboBox < V > remoteItem ( int index ) { items . remove ( index ) ; if ( index < selectedIndex ) { setSelectedIndex ( selectedIndex - 1 ) ; } else if ( index == selectedIndex ) { setSelectedIndex ( - 1 ) ; } invalidate ( ) ; return this ; }
removes an item from the combo box at a particular index
