title: Auto select/highlight item in combox with checkBox
body: <p>I used the sample code to create Combobox with checkbox items.
  <a href="https://stackoverflow.com/questions/1573159/java-check-boxes-in-a-jcombobox/1573461#1573461">Java - Check Boxes in a JComboBox</a> </p>
  
  <p>Sample program where i used that JComboCheckBox</p>
  
  <pre><code>import javax.swing.JCheckBox;
  import javax.swing.JFrame;
  
  public class ComboBoxMainClass {
  public static void main(String[] args) {
      // Frame for our test
  
      JComboCheckBox combo = new JComboCheckBox(new JCheckBox[] {
              new JCheckBox(""), new JCheckBox("First"),
              new JCheckBox("Second") });
  
      JFrame f = new JFrame("Frame Form Example");
      f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      f.getContentPane().add(combo);
      // Show the frame
      f.pack();
      f.setVisible(true);
  }
  }
  </code></pre>
  
  <p>But I cant select combo items on key press.
  e.g. if combo text is First, second etc.. 
      User press "S" key, 
      Second should be highlighted/selected. Just like in normal JComboBox.
      Is there any way to do it as in one of my application we need it.</p>