Is there a way to remove all the contents in vBox in JavaFx?
Oh! I just figured it out. I can use vBox.getChildren().clear(); It works!
vBox.getChildren().removeAll(vBox.getChildren());
works too
Oh! I just figured it out. I can use vBox.getChildren().clear(); It works!
vBox.getChildren().removeAll(vBox.getChildren());
works too