I don't reproduce this bug on an AZERTY keyboard and it's strange because I assume that Sven has at least one QWERTZ keyboard. Please fill a bug report.
Read carefully the Java documentation of getKeyCode() as it uses the US keyboard layout. getKeySymbol() doesn't :)