-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0, 1.4.0
-
rc1
-
x86, sparc
-
linux, solaris_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2035018 | 1.4.0 | Eric Hawkes | P3 | Closed | Fixed | beta |
In Windows & Solaris Invalid KeyCode Exception was thrown when
KeyPressed was done for following keys.
a)Exclamation Mark
b)At
c)Number Sign
d)Dollar
e)Circumflex
f)Ampersand
g)Asterisk
h)Left Parenthesis
i)Right Parenthesis
j)Underscore
k)Plus
l)Left Brace
m)Right Brace
n)Colon
o)Double Quote
p)Less
q)Greater
How to reproduce the Bug? -------->
Run this sample code. You would see a frame with a red Canvas.This is an automated test. No user interaction allowed.The robot will press the above mentioned keys. If key events are triggered, the message will be displayed
on the text area.
If Invalid Key Code Exception is thrown, the bug is reproduced.
KeyPressed was done for following keys.
a)Exclamation Mark
b)At
c)Number Sign
d)Dollar
e)Circumflex
f)Ampersand
g)Asterisk
h)Left Parenthesis
i)Right Parenthesis
j)Underscore
k)Plus
l)Left Brace
m)Right Brace
n)Colon
o)Double Quote
p)Less
q)Greater
How to reproduce the Bug? -------->
Run this sample code. You would see a frame with a red Canvas.This is an automated test. No user interaction allowed.The robot will press the above mentioned keys. If key events are triggered, the message will be displayed
on the text area.
If Invalid Key Code Exception is thrown, the bug is reproduced.
- backported by
-
JDK-2035018 InvalidKeyCode exception was thrown when keys like At, plus pressed by Robot.
- Closed
- duplicates
-
JDK-4368619 Linux: SimpleRobotKeyTest from AWT testsuite fails
- Closed
- relates to
-
JDK-4395157 Can't type '%' in applets with JRE 1.3 under Linux
- Resolved
-
JDK-4447559 RFE: physical vs. logical keyboard translation
- Open
-
JDK-4295215 wrong keyCode is returned for `@', `:' and `^' on japanese keyboards
- Resolved