MCPcopy Create free account
hub / github.com/PCGen/pcgen / configureUI

Method configureUI

code/src/java/pcgen/system/Main.java:205–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }
204
205 private static void configureUI()
206 {
207 String language = ConfigurationSettings.getLanguage();
208 String country = ConfigurationSettings.getCountry();
209 if (StringUtils.isNotEmpty(language) && StringUtils.isNotEmpty(country))
210 {
211 Locale.setDefault(new Locale(language, country));
212 }
213 LanguageBundle.init();
214 }
215
216 /**
217 * Check that the runtime environment is suitable for PCGen to run.

Callers 1

startupWithGUIMethod · 0.95

Calls 4

getLanguageMethod · 0.95
getCountryMethod · 0.95
initMethod · 0.95
setDefaultMethod · 0.80

Tested by

no test coverage detected