开发者

How can I force programatically JVM to reread OS key mappings?

When JVM starts, It loads current OS keysym mappings for a specific key. When I change dinamically OS key mappings with "xmodmap", JVM can't recognize the change, and still use's old keysyms. How can I force programatically JVM to reread OS key mappin开发者_JS百科gs?


Oracle: Troubleshooting guide for java desktop technologies

On UNIX systems that support dynamic keyboard changes, a running Java application does not recognize such a change. For instance, changing the keyboard from US to German does not change the keyboard mapping. Although the X server detects the change and sends out a MappingNotify event to interested clients, AWT does not refresh its notion of the keycode-keysym mapping.

Seems the answer is: not.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜