import javafx.application.Application; import javafx.scene.layout.*; import javafx.scene.*; import javafx.scene.control.*; import javafx.stage.Stage; import javafx.scene.text.Text; public class Tall extends Application { @Override public void start(Stage stage) { GridPane root = new GridPane(); for (int i = 0; i < 6; i++) { root.add(new Text("" + (i+1)), i % 3, i / 3); } stage.setScene(new Scene(gp, 200, 200)); stage.show(); } public static void main(String[] args) { launch(args); } }