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

Method startupWithGUI

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

Source from the content-addressed store, hash-verified

179 }
180
181 private static void startupWithGUI()
182 {
183 // configure the UI before any type of user prompting may take place
184 configureUI();
185 validateEnvironment(true);
186 loadProperties(true);
187 initPrintPreviewFonts();
188
189 new JFXPanel();
190
191 PCGenPreloader splash = new PCGenPreloader();
192 PCGenTaskExecutor executor = new PCGenTaskExecutor();
193 executor.addPCGenTask(createLoadPluginTask());
194 executor.addPCGenTask(new GameModeFileLoader());
195 executor.addPCGenTask(new CampaignFileLoader());
196 executor.addPCGenTaskListener(splash);
197 executor.run();
198 splash.getController().setProgress(LanguageBundle.getString("in_taskInitUi"), 1.0d);
199 FacadeFactory.initialize();
200 PCGenUIManager.initializeGUI();
201 splash.done();
202 PCGenUIManager.startGUI();
203 }
204
205 private static void configureUI()
206 {

Callers 1

mainMethod · 0.95

Calls 15

configureUIMethod · 0.95
validateEnvironmentMethod · 0.95
loadPropertiesMethod · 0.95
initPrintPreviewFontsMethod · 0.95
addPCGenTaskMethod · 0.95
createLoadPluginTaskMethod · 0.95
runMethod · 0.95
getControllerMethod · 0.95
getStringMethod · 0.95
initializeMethod · 0.95
initializeGUIMethod · 0.95
doneMethod · 0.95

Tested by

no test coverage detected