I have a Java program tha开发者_StackOverflow中文版t runs in the background without any UI.
Can it listen to keyboard input?
You can't do this, unless you use some native magic.
I have a Java program tha开发者_StackOverflow中文版t runs in the background without any UI.
Can it listen to keyboard input?
You can't do this, unless you use some native magic.
精彩评论