title: JComboBox Item Change
body: <p>My <code>JComboBox</code> model contains item like <code>item1</code>, <code>item2</code>, <code>item1</code>.  My problem is  when I select third item (<code>item1</code>) in <code>JComboBox</code> and check <code>getSelectedIndex()</code> it always returns 0.  </p>
  
  <p>If the item is same in my model how can I get index of each item differently? Like:</p>
  
  <ul>
  <li><strong>item1 returns 0</strong> </li>
  <li>item 2 returns 1 </li>
  <li><strong>item1 returns 2</strong></li>
  </ul>