Question: I have a JComboBox component in the panel and ItemListener attached to it. But it gets fired after every up/down keypress (when scrolling though opened popup list). I want to change the selected value after the user accepts selection by pressing for example Enter key.

This is not a case when using mouse. When I move mouse over the combobox's list the highlight follows mouse pointer, but selected item is not changed until I press the mouse button. I would like to have the same behavior for keyboard, i.e. moving highlight via up/down arrow does not change selected item, but pressing Enter does.

Answer: 
I believe you should be able to do:

```
comboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);

```

after you have created your `comboBox` instance to [get this functionality](http://tips4java.wordpress.com/2009/05/17/combo-box-no-action/)
Its the expected behavior with the `ItemListener`. whenever the displayed value changes the event is fired. For your requirement use an `ActionListener`.