📜  javafx 事件调整大小 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:20.188000             🧑  作者: Mango

代码示例1
Stage stage = new Stage();

stage.widthProperty().addListener((obs, oldVal, newVal) -> {
  //on change width
});

stage.heightProperty().addListener((obs, oldVal, newVal) -> {
  //on change height
});