标签: javafx
stage.setAlwaysOnTop(true);
强制将舞台置于顶部但仍可访问,以便用户可以再次按下按钮我想让它无法访问。
primaryStage.initOwner(stage);
也不起作用。