public synchronized ComboBox<V> clearItems(){
  items.clear();
  setSelectedIndex(-1);
  invalidate();
  return this;
}

public synchronized ComboBox < V > clearItems ( ) { items . clear ( ) ; setSelectedIndex ( - 1 ) ; invalidate ( ) ; return this ; }
removes all items from the combo box
