Hi,
I'm working on a virtual keyboard based on java.awt.Robot. I need to press AltGr key. But when I call this code:
robot.keyRelease(KeyEvent.VK_ALT_GRAPH);
I allways get this exception:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid key code
at sun.awt.windows.WRobotPeer.keyPress(Native Method)
at java.awt.Robot.keyPress(Robot.java:243)
Any solution?