开发者

InputEvent modifiers key

When I try to get (isAltGraphDown) if the ALT GR key is pressed when I click a button Java returns always false also if it's pressed.

Instead with e.getModifiersExText(e.getModifiersEx(开发者_开发知识库)) it returns Ctrl+Alt !!!

What's the problem?

and If I wanted to know if a user pressed a right Shift key?


When I was on the jEdit mailing list I saw a lot of these types of issues, usually when using non-US keyboard layouts. Occasionally other software on the system can also cause trouble, but most often it's a JVM bug. What keyboard layout are you using?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜