}
}
lastConfigIndex = jComboBoxConfig.getSelectedIndex();
close();
main.viewerConfig = new Config (Commons.viewerSide, config_name,
jTextFieldIPAdr.getText(),
Integer.parseInt(jTextFieldPort.getText()),
jTextFieldUsername.getText(),
String.copyValueOf(jPasswordField.getPassword()),
jCheckBoxSSLEnabled.isSelected(),