Hello,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 pressed.
Using Java(TM) SE Runtime Environment (build 1.6.0_30-b12) works as documented.
OS is Ubuntu 10.04 LTS - Lucid Lynx and IDE is NetBeans 7.1. Sincerely yours, Walter
