public static Tuple2<Label, TextArea> addLabelTextArea( GridPane gridPane, int rowIndex, String title, String prompt, double top) { Label label = addLabel(gridPane, rowIndex, title, 0); GridPane.setMargin(label, new Insets(top + 4, 0, 0, 0)); GridPane.setValignment(label, VPos.TOP); TextArea textArea = new TextArea(); textArea.setPromptText(prompt); textArea.setWrapText(true); GridPane.setRowIndex(textArea, rowIndex); GridPane.setColumnIndex(textArea, 1); GridPane.setMargin(textArea, new Insets(top, 0, 0, 0)); gridPane.getChildren().add(textArea); return new Tuple2<>(label, textArea); }