title: Java PropertyResolutionException when binding netbeans combobox selected item
body: <p>I have a <code>JComboBox</code> which I designed in the Netbeans GUI designer. I have successfully bound the "elements" of the box to an <code>ArrayList&lt;String&gt;</code> so that the box populates properly. However, it currently automatically displays the first element of the list as the <code>selectedItem</code>. </p>
  
  <p>I tried to bind the <code>selectedItem</code> to an <code>int</code> at first, thinking it would just show the item at the indicated index. No go. I got a ginormous exception that I didn't understand. </p>
  
  <p>Then, I noticed that in the "Binding" window, it said the element had to be an <code>Object</code>. So, I bound it to a <code>String</code>, thinking that it would find the element that matched that string and show that element. No dice. Now I'm getting some sort of "<code>PropertyResolutionException</code>". I've even tried to use an Integer object with the same result. </p>
  
  <p>Any ideas would be appreciated.</p>