I am in the process of writing a mauve test for this.
When we translate from new events to old events, if a character on the
keyboard is pressed the key value should be set to the value of the
character.
2006-03-31 Lillian Angel <[EMAIL PROTECTED]>
* java/awt/Component.java
(translateEvent): oldKey should be the value of the
key char.
Index: java/awt/Component.java
===================================================================
RCS file: /sources/classpath/classpath/java/awt/Component.java,v
retrieving revision 1.109
diff -u -r1.109 Component.java
--- java/awt/Component.java 23 Mar 2006 23:22:39 -0000 1.109
+++ java/awt/Component.java 31 Mar 2006 21:39:22 -0000
@@ -4875,7 +4875,7 @@
oldKey = Event.UP;
break;
default:
- oldKey = newKey;
+ oldKey = (int) ((KeyEvent) e).getKeyChar();
}
translated = new Event (target, when, oldID,