Java examples for JavaFX:VBox
new JavaFX VBox
//package com.java2s; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.layout.VBox; public class Main { public static VBox newVBox(Insets insets, double spacing, Pos alignment) { final VBox pane = new VBox(spacing); pane.setAlignment(alignment);//from w ww . j av a 2 s . c om pane.setPadding(insets); return pane; } }