I'm not sure if this is possible and I couldn't find anything on it, but could I make a scrollpane scroll forever? I am constantly adding new buttons and labels into the window once a button is pressed, and eventually is gets to the bottom. I may be setting it up wrong but here is code:
BorderPane bp = new BorderPane();
GridPane gp = new GridPane();
Button b = new Button("click");
gp.add(b, 1, 1);
ScrollPane sp = new ScrollPane(gp);
bp.setTop(sp);
b.setOnAction(e -> createLabel());