Code:
@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
final ScrollBar pane = new ScrollBar();
final ScrollBar pane1 = new ScrollBar();
pane.setStyle("-fx-orientation:vertical;");
root.setCenter(HBoxBuilder.create().spacing(15).minHeight(50).children(pane, pane1).build());
Scene scene = new Scene(root);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}
@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
final ScrollBar pane = new ScrollBar();
final ScrollBar pane1 = new ScrollBar();
pane.setStyle("-fx-orientation:vertical;");
root.setCenter(HBoxBuilder.create().spacing(15).minHeight(50).children(pane, pane1).build());
Scene scene = new Scene(root);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}