Java examples for JavaFX:GridPane
new JavaFX GridPane
//package com.java2s; import javafx.geometry.Insets; import javafx.scene.layout.GridPane; public class Main { public static GridPane newGridPane(Insets insets, double hgap, double vgap) { final GridPane pane = new GridPane(); pane.setHgap(hgap);//from www. j a v a 2s .co m pane.setVgap(vgap); pane.setPadding(insets); return pane; } }