p.setStringValue(DATABASE_HOST, (String) databaseHostField.getText());
p.setStringValue(DATABASE_NAME, (String) databaseNameField.getText());
p.setStringValue(DATABASE_USER, (String) databaseUserField.getText());
p.setStringValue(DATABASE_PWD, (String) databasePasswordField.getText());
try {
p.save();
} catch (FileNotFoundException e) {
ExceptionProcessor.getInstance().processException(e);
} catch (IOException e) {
ExceptionProcessor.getInstance().processException(e);
}