Back to Multiple Choice Quiz
GridPane Cell Position
Java quiz · Question 50Where does the Button appear in the grid?
Code
1GridPane grid = new GridPane();2grid.add(new Label("Name:"), 0, 0);3grid.add(new TextField(), 1, 0);4grid.add(new Label("Email:"), 0, 1);5grid.add(new TextField(), 1, 1);6grid.add(new Button("Submit"), 1, 2);