title: How to set word wrap for JComboBox?
body: <p>I want to display multiple-line text for each item in combobox. Words should go to the next line automatically if the exceed the width of combobox. How to achieve this?</p>
  
  <pre><code>String meanings;// array which contains pretty long sentences
  JComboBox&lt;String&gt; meaningsComboBox=new JComboBox&lt;String&gt;(meanings);
  </code></pre>