简体   繁体   English

Java 应用程序的错误键盘布局

[英]Wrong Keyboard Layout For Java Application

My java application is not handling the keyboard input right under Windows 10. It works on other windows machines, even 10. What it's doing is adding +1 to each char.我的 java 应用程序没有在 Windows 10 下处理键盘输入。它适用于其他 Windows 机器,甚至 10。它所做的是向每个字符添加 +1。 So if I type 1 it changes it to 2, a is changed to b.因此,如果我键入 1,它将更改为 2,a 更改为 b。 I have never seen anything like it.我从未见过类似的东西。 Does anybody know if this could be caused by a java setting?有谁知道这是否可能是由java设置引起的?

It turned out it was an issue with the Roboto font.原来这是 Roboto 字体的问题。 Reinstalling the font has fixed the issue.重新安装字体已解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM