Problem with JComboBox consuming 'ENTER' key action....
Posted on 2002-04-04
I have a 'JFrame'. with some Buttons and JComboBoxes. I have set one of the button as the 'DefaultButton'(To perform critical action whenever the user presses 'ENTER' key , no matter where the focus is ...) for this frame.
The problem is that whenever, the focus is on one of the JComboBoxes, the 'DefaultButton' is not getting the 'ENTER' action.
This is working fine with Sun JVM1.1.8. But not with Sun JVM1.3.0_02.
Any ideas how to fix it ???