MCPcopy Create free account
hub / github.com/Hakky54/java-tutorials / init

Method init

trust-me/src/main/java/nl/altindag/ssl/trustme/App.java:40–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 private Parent root;
39
40 @Override
41 public void init() throws IOException {
42 applicationContext = new SpringApplicationBuilder(App.class)
43 .headless(false)
44 .run(getParameters().getRaw().toArray(String[]::new));
45
46 FXMLLoader fxmlLoader = fxmlLoaderFunction.apply("/mainscreen.fxml");
47 fxmlLoader.setControllerFactory(applicationContext::getBean);
48 root = fxmlLoader.load();
49 }
50
51 @Override
52 public void start(Stage stage) {

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected