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