JDK-4233061 : ActionEvent is not invoked when RETURN key is pressed on the button.
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.
ActionEvent is not invoked when RETURN key is pressed on the button. Just try to hit return key on the button, you will see actionEvent is not invoked.
BugTraq+ Release Management Values
COMMIT TO FIX:
This isn't completely clear from the description/synopsis, but I think this
is another focus bug.
Committing to Merlin. Dave has agreed to update the docs/spec as
This is not a focus bug. The KeyEvents are delivered just fine, but the
Button component does not respond to RETURN. This is inconsistent with the
native platform. Both native Motif and Win32 buttons respond to RETURN,
whereas the corresponding AWT native peers do not. This should be corrected.
This is not really a bug at all, only an undefined area in the specification. Space bar is typically the key for invoking a button, not RETURN. Space bar works fine.
Added some doc. Had reviewed by Roman, approved by CCC. Fixed for tiger.