public void start(Stage stage) throws Exception {
        longStart();
        Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml"));
         
        Scene scene = new Scene(root);
         
        stage.setScene(scene);
        stage.initStyle(StageStyle.UNDECORATED);//设定窗口无边框
        stage.show();
    }

 

posted on 2019-06-20 17:31  肖建锋  阅读(1966)  评论(0编辑  收藏  举报