removeAll() { if (getItemCount() <= 0) return;
public synchronized void removeAll() { if (getItemCount() <= 0) return;
removeAll(){  if (getItemCount() <= 0)    return;    pItems.removeAllElements ();  if (peer != null)    {      ChoicePeer cp = (ChoicePeer) peer;      cp.removeAll ();    }  selectedIndex = -1;}