title: JavaFX & FXML: how do I set the default selected item in a ChoiceBox in FXML?
body: <p>I have the following FXML:</p>
  
  <pre><code>&lt;ChoiceBox&gt;
      &lt;items&gt;
          &lt;FXCollections fx:factory="observableArrayList"&gt;
              &lt;String fx:value="2 minutes" /&gt;
              &lt;String fx:value="5 minutes" /&gt;
              &lt;String fx:value="15 minutes" /&gt;
          &lt;/FXCollections&gt;
      &lt;/items&gt;
  &lt;/ChoiceBox&gt;
  </code></pre>
  
  <p>But in the GUI it just shows a ChoiceBox with a default of nothing. I would like the first element in the list to be the default, and for a choice of "null" or nothing to be prohibited.</p>
  
  <p>How do I accomplish this?</p>