@Override
public void start(Stage primaryStage) throws Exception {
final ApplicationView view = new ApplicationView();
final ApplicationPresenter presenter = view.getRealPresenter();
final Scene scene = new Scene(view.getView(), 1280, 720);
primaryStage.setTitle(this.getProperty(KEY__APPLICATION__TITLE) + this.getProperty(KEY__APPLICATION__VERSION));
primaryStage.setScene(scene);
primaryStage.setOnCloseRequest((WindowEvent we) -> {
we.consume();
this.onCloseRequest();
});
primaryStage.show();
presenter.initializeAfterWindowIsShowing();
}
StartApplication.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:Incubator
作者:
评论列表
文章目录