Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
I am popping up a frame with 3 buttons. On clicking the first button, all the 3 buttons located at the southern region of the frame will be disabled. When running this application on win_xp, when I click the first button, all the 3 buttons are getting disabled but focus is shifted to the second buton which is in disabled state. When I press the space bar, this disabled button received the keyevent and triggers the action event. This is incorrect. A disabled component should not gain focus and should not respond to any of the key or mouse events. This is not reproducible on Solaris-Sparc9 (CDE). This is reproducible since JDK1.4.2-fcs and is working fine on the previous releases. This is reproducible on Tiger-beta2-b50. I have attached a sample test. Execute the sample test. Click the 'Disable' button. Make sure all the 3 buttons are disabled. Press the space bar. When the second button 'Click Me' triggers action event, the bug is reproduced.
|