My program has the ability to change the selected item of my combobox. But how can I know if the item change has been caused by an human mouse click on the item itself or by my program.
I'm pretty much looking for a MouseListener that can be added to the items of the JComboBox and not the JComboBox itself.