LocaleType[] locales = LocaleType.values();
GameContext.setLocale(locales[localeComboBox_.getSelectedIndex()]);
// game specific options
GameOptions options = getOptions();
String msgs = options.testValidity();
if (msgs == null) {
controller_.setOptions(options);
this.setVisible( false );
}
else {