title: JavaFx: How to set the labelFor property of a Label in FXML?
body: <p>I have a TextField and a Label with mnemonicParsing true.  I want to set the labelFor property of the label with the id of the TextField. How do I do that in FXML?  </p>
  
  <pre><code>&lt;GridPane hgap="5.0" snapToPixel="false" vgap="10.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"&gt;
  &lt;children&gt;
        &lt;Label maxWidth="-Infinity" text="_A Label" GridPane.halignment="RIGHT" GridPane.hgrow="NEVER" GridPane.vgrow="NEVER" mnemonicParsing="true" /&gt;
        &lt;TextField id="myTextField" GridPane.columnIndex="1" GridPane.hgrow="NEVER" /&gt;
  &lt;/children&gt;
  &lt;/GridPane&gt;
  </code></pre>
  
  <p>Thanks</p>