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();
    }

 

相关文章:

  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2021-07-23
  • 2021-07-11
  • 2022-03-08
  • 2021-10-04
猜你喜欢
  • 2021-12-18
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案