Java系统范围的键盘快捷方式 [英] Java System-Wide Keyboard Shortcut
本文介绍了Java系统范围的键盘快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法让
的系统范围(全局)键盘快捷键在Java应用程序中执行操作?
Is there any way to get a system-wide (global) keyboard shortcut to perform an action in a Java application?
任何AWT / Swing绑定?
Any AWT/Swing bindings?
推荐答案
没有,但是在Windows中你可以使用它:
There is not, but in windows you can use this:
不幸的是,对于Linux和OSX我没有任何意识,这可能就是为什么它没有开箱即用的java。
Unfortunately there is nothing I'm aware of for Linux and OSX, probably that's why it doesn't come with java out of the box.
如果你发现其他平台发布在这里请:):
If you find for the other platforms post it here please :)
只是为了好奇,你在做什么那个?
Just for couriosity, what are you doing with that?
这篇关于Java系统范围的键盘快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文