📅  最后修改于: 2022-03-11 14:59:44.960000             🧑  作者: Mango
VBox vbox = new VBox();
ListView list = new ListView();
VBox.setVgrow(list, Priority.ALWAYS);
vbox.getChildren().addAll(new Label("Names:"), list);