简体   繁体   English

AWT 机器人类问题

[英]AWT Robot class Issue

I'm here to talk to you about a problem I got today working for the first time whit this new class called "Robot" of the library java.awt.我来这里是想和你谈谈我今天第一次遇到的一个问题,这个新类是 java.awt 库中名为“Robot”的新类。

I must say Robot works fine, but troubles come every time i stop the application.我必须说机器人工作正常,但每次我停止应用程序时都会遇到麻烦。 My keyboard doesn't recognize any command and when i try to write something, random Windows appear everywhere, as if the keyboard no longer recognizes the predefined keys.我的键盘无法识别任何命令,当我尝试写一些东西时,随机出现的 Windows 随处可见,就好像键盘不再识别预定义的键一样。 is there anyone who knows the reason for this strange behaviour and knows how to solve these issues?有没有人知道这种奇怪行为的原因并知道如何解决这些问题?

thank you very much!非常感谢!

thankyou MadProgrammer, your observation was right!谢谢MadProgrammer,你的观察是对的! I solved my problem.我解决了我的问题。 I'm sorry I didn't provide an example related to my question but I was sure that someone would nave understood my problem.很抱歉,我没有提供与我的问题相关的示例,但我确信有人会理解我的问题。

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

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