United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4233061 : ActionEvent is not invoked when RETURN key is pressed on the button.

Details
Type:
Bug
Submit Date:
1999-04-27
Status:
Resolved
Updated Date:
2003-09-05
Project Name:
JDK
Resolved Date:
2003-09-05
Component:
client-libs
OS:
solaris_2.6
Sub-Component:
java.awt
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.2.2
Fixed Versions:
5.0 (tiger)

Related Reports

Sub Tasks

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.

                                    

Comments
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
                                     
2001-08-02
PUBLIC COMMENTS

 
                                     
2004-06-10
SUGGESTED FIX

 
                                     
2004-06-11
WORK AROUND

 
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
generic
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b19


                                     
2004-06-14



Hardware and Software, Engineered to Work Together