会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
翡翠绿
博客园
首页
新随笔
联系
订阅
管理
2020年6月7日
Javafx 切换界面的两种方式
摘要: AnchorPane other = FXMLLoader.load(getClass().getResource("SecondPane.fxml")); 前置条件 加载fxml通过FXMLLoader 方法一 通过setAll 方法把fxml内容加入到root节点 1 public void s
阅读全文
posted @ 2020-06-07 21:51 翡翠绿
阅读(5679)
评论(1)
推荐(0)
公告