United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124411 [macosx] There's no KEY_TYPED for VK_ESCAPE
JDK-7124411 : [macosx] There's no KEY_TYPED for VK_ESCAPE

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2012-09-25
Project Name:
JDK
Resolved Date:
2012-06-20
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u6 (b13)

Related Reports

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-159 submitted 2011/07/13 by Yuri Nesterenko
Add a key listener to a component and look at the events; for instance, use an attached simple example. There's no KEY_TYPED for VK_ESCAPE. There is, on some other platforms.

                                    

Comments
EVALUATION

Author: Artem Ananiev Date: 25/Jul/11 02:54 PM
Is there any statement in JavaDoc about KEY_TYPED events for keys like Escape?
 
Author: Yuri Nesterenko Date: 26/Jul/11 06:46 AM
&quot;They are generated when a Unicode character is entered.&quot; &#8211; that's all we have, I believe. Now, on other platforms Escape does generate a Unicode character but not on Mac <span class=&quot;error&quot;>&#91;Mac Java&#93;</span>. I believe it should, if possible: I don't think there is code depending on <em>not</em> generating Unicode for Escape.
 
Author: Yuri Nesterenko Date: 28/Jul/11 07:19 AM
Build: b200
AWT_Events/Automated/KeyEventLocation
closed/java/awt/event/KeyEvent/KeyTyped/EscapeKeyTyped
                                     
2011-12-23



Hardware and Software, Engineered to Work Together