getSelectedObjects() { if (selectedIndex == -1) return null;
public synchronized Object[] getSelectedObjects() { if (selectedIndex == -1) return null;
getSelectedObjects(){  if (selectedIndex == -1)    return null;  Object[] objs = new Object[1];  objs[0] = pItems.elementAt(selectedIndex);  return(objs);}