Adding a MouseListener to a JComboBox
I would like to listen for mouse events on the JComboBox. I have searched the source, and also the plaf, listcellrenderer and comboboxeditor sources, and still cannot find the right component to listen for mouse events.
I am guessing it should be in comboboxbutton, but since these are implementation specific, how would I listen for mouse events on it?
I think JComboBox should have an overridden addMouseListener(); that allows listening to events from components further down the hierarchy.
Can anyone help me out?