JDK-4233061 : ActionEvent is not invoked when RETURN key is pressed on the button.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_2.6
  • CPU: generic
  • Submitted: 1999-04-27
  • Updated: 2017-05-16
  • Resolved: 2003-09-05
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 Availability Release.

To download the current JDK release, click here.
5.0 tigerFixed
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.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b19




EVALUATION This isn't completely clear from the description/synopsis, but I think this is another focus bug. eric.hawkes@eng 1999-04-27 Committing to Merlin. Dave has agreed to update the docs/spec as appropriate. eric.hawkes@eng 2000-08-22 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. david.mendenhall@east 2001-07-10 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. michael.martak@Eng 2001-08-02 Added some doc. Had reviewed by Roman, approved by CCC. Fixed for tiger. ###@###.### 2003-08-22