-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
b32
-
generic
-
generic
-
Verified
I have a JFrame with an editable JComboBox and a button. I am calling setFocusable(false) on button as well as JComboBox before showing the frame on the screen. When the frame appears, I am clicking on the JComboBox and typing some text. I am surprised to see all the text being shown there and using the arrow keys I am able to select the items in the drop-down. This is incorrect. When JComboBox is non-focusable it should not respond to any keyevents. This works as expected when editability is turned off programmatically (setEditable(false)).
This is noticed on all platforms since 1.4. I have attached a sample test. Execute the test. You would see a frame with a JComboBox. Try typing some text in the combo box. If the text appears there, the bug is reproduced.
###@###.### 10/26/04 10:16 GMT
This is noticed on all platforms since 1.4. I have attached a sample test. Execute the test. You would see a frame with a JComboBox. Try typing some text in the combo box. If the text appears there, the bug is reproduced.
###@###.### 10/26/04 10:16 GMT
- relates to
-
JDK-6384314 REGRESSION: JComboBox that is both Editable and NonFocusable will not allow user
-
- Closed
-
-
JDK-6246456 Disabling focus traversal keys not working properly for JComboBox in editable mode
-
- Closed
-