}
configBean.setHost(host);
configBean.setUser(userInput.getText());
configBean.setPassword(new String(passwordInput.getPassword()));
if (host.equals("")) {
new ErrorForm(new OKMException(OpenKMAddOn.get().getLang().getString("config.error.host.empty")));
} else if (configBean.getUser().equals("")) {
new ErrorForm(new OKMException(OpenKMAddOn.get().getLang().getString("config.error.user.empty")));
} else if (configBean.getPassword().equals("")) {
new ErrorForm(new OKMException(OpenKMAddOn.get().getLang().getString("config.error.password.empty")));
} else {
try {
configFile.save(configBean);
} catch (OKMException ex) {
new ErrorForm(ex);