}
catch (NumberFormatException e){
tempDatasource.setDatabasePort(1150);
}
tempDatasource.setDatabaseSpatialReferenceID(myTextFieldSpatialReferenceID.getText());
tempDatasource.connect();
// save the configuration information.
System.getProperties().setProperty(Constants.getApplicationName()+"."+URLBASE_TAG, tempDatasource.getDatabaseURLBase());
System.getProperties().setProperty(Constants.getApplicationName()+"."+SERVERNAME_TAG, tempDatasource.getDatabaseServername());
System.getProperties().setProperty(Constants.getApplicationName()+"."+DATABASENAME_TAG, tempDatasource.getDatabaseName());