Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4233061
Votes 0
Synopsis ActionEvent is not invoked when RETURN key is pressed on the button.
Category java:classes_awt
Reported Against 1.2.2
Release Fixed 1.5(tiger)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4497746
Submit Date 27-APR-1999
Description
 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.
Work Around
 
Evaluation
This isn't completely clear from the description/synopsis, but I think this 
is another focus bug.  

 xxxxx@xxxxx  1999-04-27

Committing to Merlin.  Dave has agreed to update the docs/spec as 
appropriate.  

 xxxxx@xxxxx  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.
 xxxxx@xxxxx  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.
 xxxxx@xxxxx  2001-08-02


Added some doc.  Had reviewed by Roman, approved by CCC.  Fixed for tiger.
 xxxxx@xxxxx  2003-08-22
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang