-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.1
-
x86
-
windows_xp
I have a frame with a button. On clicking the button, I am disabling the frame. After that, the focus still stays with the button and button responds to all the key events. Say pressing a space bar triggers an action event for the button. But button is not clickable using mouse. This behavior is seen only on Win32. On Solaris / Linux, the button also gets disabled and hence does not respond to any keyevents when parent frame gets disabled.
This is reproducible on all releases (at least since 1.3.1) only on Win32.
I have attached a sample test. Run the sample text on WinXP. You would see a frame with a button. Click on the button. Frame gets disabled. Make sure button still has the focus. Press space bar. If an action event is triggered (watch the console) the bug is reproduced.
###@###.### 10/27/04 09:10 GMT
This is reproducible on all releases (at least since 1.3.1) only on Win32.
I have attached a sample test. Run the sample text on WinXP. You would see a frame with a button. Click on the button. Frame gets disabled. Make sure button still has the focus. Press space bar. If an action event is triggered (watch the console) the bug is reproduced.
###@###.### 10/27/04 09:10 GMT
- duplicates
-
JDK-5044469 REG: Disabled component gains focus and receives keyevents on win32
-
- Closed
-
- relates to
-
JDK-6181163 REGRESSION: Disabled textfield responds to keyevents visually on win32
-
- Closed
-
-
JDK-6181270 REGRESSION: Textarea responds to keyevents visually when it is disabled, on win32
-
- Closed
-