title: How to center items in a Java combobox
body: <p>Is there a method for a combobox in Java that will center the items in the combobox? I tried this but it didn't work:</p>
  
  <pre><code>myCombobox.setAlignmentY(CENTER_ALIGNMENT);
  </code></pre>
  
  <p>Thanks!</p>