javafx scrollpane stretch to width code example
Example: javafx scrollpane
ScrollPane scrollPane = new ScrollPane();
scrollPane.setContent(theThingYouWantToBeScrollable);
ScrollPane scrollPane = new ScrollPane();
scrollPane.setContent(theThingYouWantToBeScrollable);