2019年6月20日
摘要: public void start(Stage stage) throws Exception { longStart(); Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml")); Scene scene = new Scene(ro... 阅读全文
posted @ 2019-06-20 17:31 肖建锋 阅读(1966) 评论(0) 推荐(0) 编辑
摘要: pom.xml 项目文件结果 运行 jfx:run 命令 阅读全文
posted @ 2019-06-20 17:24 肖建锋 阅读(1542) 评论(0) 推荐(0) 编辑
摘要: 将 Parent root = FXMLLoader.load(getClass().getResource("xml/MainUI.fxml")); 改为: Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("xml/MainUI.fxml")); 阅读全文
posted @ 2019-06-20 17:21 肖建锋 阅读(1223) 评论(1) 推荐(0) 编辑