给Stage设置AlwaysOnTop属性就可以了。

Stage stage =new Stage();
stage.setAlwaysOnTop(true);

就可以啦


没有登录不能评论
头像 MoTec
学习了
2018-06-25 23:48:50