void controlTypeChanged(){
  setUpControlType((String)typeBox.getSelectedItem());
}

void controlTypeChanged ( ) { setUpControlType ( ( String ) typeBox . getSelectedItem ( ) ) ; }
reacts to a control type change
