angus young wrote:The idea is to enable the button when I type any key in the JComboBox
Then you probably need to assign the key listener to the editor of the JComboBox. In edit mode, a JComboBox uses a text field and that is the element you need to add the listener to since it is what gains focus.