When I register ActionListener on a non-editable JComboBox it fires actionPerformed() every time user changes selected item with arrows keys or with context search (typing the first letter of the item name).
I found similar question here:
How to make JComboBox selected item not changed when scrolling through its popuplist using keyboard. But that solution doesn’t cover context search option. It fires actionPerformed() when I type something.
How to determine when user confirms selected item using enter key or mouse click?
better would be implements ItemListener (fired twice SELECTED and DESELECTED), than ActionListener and KeyBindings, maybe with succes this simple example here