public void selectObject(Object element){
  if (controlShown) {
    int index=objectsInCombo.indexOf(element);
    if (index != -1) {
      objectSelection.select(index);
    }
  }
}

public void selectObject ( Object element ) { if ( controlShown ) { int index = objectsInCombo . indexOf ( element ) ; if ( index != - 1 ) { objectSelection . select ( index ) ; } } }
selects the given object in the stepping control , if the object is currently in the combo - box .
