this.selectedIndex = index; if (peer != null) {
if (pItems.size() > 0) { selectedIndex = index;
select(int index){		if ((index < 0) || (index > getItemCount()))			throw new IllegalArgumentException("Bad index: " + index);		this.selectedIndex = index;  if (peer != null)    {			ChoicePeer cp = (ChoicePeer) peer;      cp.select (index);	}}