title: How to Set the Value of JSpinner from an Integer Variable?
body: <pre><code>int age=12;
  spinner.setValue(age);
  </code></pre>
  
  <p>That's my code, I can't set the spinner to 12.</p>
  
  <p>PS. How to set the spinner value from database?</p>