Posted Monday, March 26, 2007 @ 23:04:41
Look: The problem that i have is that the keyCode returnet is wrong:
if ( e.getModifiers() == KeyEvent.VK_CONTROL ) {
System.out.println("Control Pressed");
}
System.out.println("Control Key: " + KeyEvent.VK_CONTROL);
System.out.println("Modifiers: " + e.getModifiers());
ControlKeyCode is 17.
When you hold Control and click: prints 18 (Shift key code)
If you hold Shift everyhing works fine.
I really dont know what is happening...
Thanks
Bruno