How to set the value of a JavaFX Spinner? : <p>I'm wondering how to set the value of a JavaFX Spinner, as I haven't been able to figure it out.</p>

<p>I know with Swing you can just use spinner#setValue but it seems to be different with JavaFX.</p>

<pre><code>@FXML
private Spinner&lt;Integer&gt; spinner;
</code></pre>
