<AWT Dev> [8] Review request for 7197619 Using modifiers for the dead key detection on Windows

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Sep 11 06:24:15 PDT 2012


bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7197619
webrev: http://cr.openjdk.java.net/~alexsch/7197619/webrev.00/

Only a virtual key code is used for the dead key detection on Windows in 
the current implementation.
This does not take into account that dead keys can be pressed with 
modifiers like ctrl+alt+2 (caron dead key) on Hungarian keyboard.

The fix gets isDeadKey flag and a character from the ToAsciiEx method 
and uses them for the windows dead key to java key translation.

Thanks,
Alexandr.




More information about the awt-dev mailing list