Reputation: 21
I have an object where I store my data about file.
How can I add a new line with already filled fields (checkbox, combobox...)
Upvotes: 2
Views: 2586
Reputation: 732
GridPane gridPane = new GridPane();
TextField textField = new TextField("Text Field");
gridPane.add(textField, 1, 1);
Label label = new Label("Label");
gridPane.add(label, 0, 1);
Similarly you can add any field into grid pane with its row and column index with the values too.
Upvotes: 0