public static boolean validateComboBox(final JComboBox baseTypes){
  return baseTypes.getSelectedItem() != null;
}

public static boolean validateComboBox ( final JComboBox baseTypes ) { return baseTypes . getSelectedItem ( ) != null ; }
only validate that a base type is selected without showing an error message .
