regionalSettings.setLocale(locale);
DBDateFormat dateFormat = getSelectedDateFormat();
regionalSettings.setDateFormatOption(dateFormat);
DBNumberFormat numberFormat = getSelectedNumberFormat();
regionalSettings.setNumberFormatOption(numberFormat);
regionalSettings.getUseCustomFormats().applyChanges(customPatternsRadioButton);
regionalSettings.getCustomDateFormat().applyChanges(customDateFormatTextField);
regionalSettings.getCustomTimeFormat().applyChanges(customTimeFormatTextField);