/** * This method is called after init(), and is called on the JavaFX Application Thread, so we can * display a GUI. We have two GUIs: a splash screen and the application. Both of these follow the * MVC model. * * <p>We first display the splash screen. The model is where all initialization for the * application takes place. The controller updates a progress-bar in the view, and (after * initialization is finished) calls the startApp() method in this class. */ @Override public void start(Stage primaryStage) { // Create and display the splash screen and model Splash_Model splashModel = new Splash_Model(); splashView = new Splash_View(primaryStage, splashModel); new Splash_Controller(this, splashModel, splashView); splashView.start(); // Display the splash screen and begin the initialization splashModel.initialize(); }