private boolean selectDBSchemaFile(String name){
  FileObject dbschemaFl=FileUtil.toFileObject(new File(name));
  if (dbschemaFl == null) {
    return false;
  }
  dbschemaComboBox.setSelectedItem(dbschemaFl);
  if (!dbschemaFl.equals(dbschemaComboBox.getSelectedItem())) {
    return false;
  }
  dbschemaRadioButton.setSelected(true);
  return true;
}

private boolean selectDBSchemaFile ( String name ) { FileObject dbschemaFl = FileUtil . toFileObject ( new File ( name ) ) ; if ( dbschemaFl == null ) { return false ; } dbschemaComboBox . setSelectedItem ( dbschemaFl ) ; if ( ! dbschemaFl . equals ( dbschemaComboBox . getSelectedItem ( ) ) ) { return false ; } dbschemaRadioButton . setSelected ( true ) ; return true ; }
tries to select the given dbschema file and returns true if successful .
