węzeł środkowy Javafx w siatce

//center grid pane:
GridPane pane = new GridPane();
pane.setAlignment(Pos.CENTER);
//center element:
GridPane.setHalignment(node, HPos.CENTER);
GridPane.setValignment(node, VPos.CENTER);
YaKiCode