The following bug fix
5044469: REG: Disabled component gains focus and receives keyevents on win32
suppresses the events for space bar when a button is disabled and still has the focus. In such cases, when we press ALT + SPACE, the events for SPACE is suppressed hence preventing the frame from showing it's default menu containing maximize, restore, close options. Default frame menu should not be suppressed.
This is reproducible only in the following PIT build on win32. Not reproducible on any of the previous mustang / tiger builds.
java version "awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2004-10-15-Fri-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b08, mixed mode)
I have attached a sample test. Execute the sample test. You would see a frame with a button. Click the button. The button will be disabled but will still have the focus. Now press 'ALT + SPACE'. If you don't see frame's default menu coming up, the bug is reproduced.
###@###.### 10/19/04 12:37 GMT