摘要:
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
肖建锋
阅读(1997)
评论(0)
推荐(0)
摘要:
pom.xml 项目文件结果 运行 jfx:run 命令 阅读全文
posted @ 2019-06-20 17:24
肖建锋
阅读(1552)
评论(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
肖建锋
阅读(1238)
评论(1)
推荐(0)