This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootApplication | |
public class DemoApplication extends Application { | |
private ConfigurableApplicationContext springContext; | |
private Parent root; | |
@Override | |
public void init() throws Exception { | |
springContext = SpringApplication.run(DemoApplication.class); | |
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/sample.fxml")); |