<AWT Dev> Key code of VK_ALT_GRAPH

Oki van Kinoki oki at arco.in-berlin.de
Tue Apr 10 06:54:38 PDT 2012


the key code of VK_ALT_GRAPH in java-6-openjdk is 0 instead of 65406 as 
it should be in accordance with the documentation. So, 
KeyEvent.isAltGraphDown() returns false even if alt-graph key is being 

Using Java(TM) SE Runtime Environment (build 1.6.0_30-b12) works as 

OS is Ubuntu 10.04 LTS - Lucid Lynx and IDE is NetBeans 7.1.

Sincerely yours,

More information about the awt-dev mailing list