// Path: easyfxml/src/main/java/moe/tristan/easyfxml/FxApplication.java
// @Import(EasyFxmlAutoConfiguration.class)
// public abstract class FxApplication extends Application {
// 
//     protected ConfigurableApplicationContext springContext;
// 
//     @Override
//     public void init() {
//         beforeSpringInit();
//         this.springContext = getSab().run();
//         afterSpringInit();
//     }
// 
//     protected SpringApplicationBuilder getSab() {
//         return new SpringApplicationBuilder(getClass())
//             .main(getClass())
//             .headless(false)
//             .web(WebApplicationType.NONE);
//     }
// 
//     protected void beforeSpringInit() {
//         // do nothing by default
//     }
// 
//     protected void afterSpringInit() {
//         // do nothing by default
//     }
// 
//     @Override
//     public void start(final Stage primaryStage) {
//         this.springContext.getBean(FxUiManager.class).startGui(primaryStage);
//     }
// 
//     @Override
//     public void stop() {
//         this.springContext.stop();
//     }
// 
// }


import org.springframework.boot.autoconfigure.SpringBootApplication;
import moe.tristan.easyfxml.FxApplication;
/*
 * Copyright 2017 - 2019 EasyFXML project and contributors
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package moe.tristan.easyfxml.samples.helloworld;



@SpringBootApplication
public class HelloWorld extends FxApplication {

    public static void main(String[] args) {
// Path: easyfxml/src/main/java/moe/tristan/easyfxml/FxApplication.java
// @Import(EasyFxmlAutoConfiguration.class)
// public abstract class FxApplication extends Application {
// 
//     protected ConfigurableApplicationContext springContext;
// 
//     @Override
//     public void init() {
//         beforeSpringInit();
//         this.springContext = getSab().run();
//         afterSpringInit();
//     }
// 
//     protected SpringApplicationBuilder getSab() {
//         return new SpringApplicationBuilder(getClass())
//             .main(getClass())
//             .headless(false)
//             .web(WebApplicationType.NONE);
//     }
// 
//     protected void beforeSpringInit() {
//         // do nothing by default
//     }
// 
//     protected void afterSpringInit() {
//         // do nothing by default
//     }
// 
//     @Override
//     public void start(final Stage primaryStage) {
//         this.springContext.getBean(FxUiManager.class).startGui(primaryStage);
//     }
// 
//     @Override
//     public void stop() {
//         this.springContext.stop();
//     }
// 
// }


// Path: easyfxml-samples/easyfxml-sample-hello-world/src/main/java/moe/tristan/easyfxml/samples/helloworld/HelloWorld.java
import org.springframework.boot.autoconfigure.SpringBootApplication;
import moe.tristan.easyfxml.FxApplication;

/*
 * Copyright 2017 - 2019 EasyFXML project and contributors
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package moe.tristan.easyfxml.samples.helloworld;



@SpringBootApplication
public class HelloWorld extends FxApplication {

    public static void main(String[] args) {
        launch(args);