Java System-Wide Keyboard Shortcut(Java 系统范围的键盘快捷键)
问题描述
是否有任何方法或库来获得系统范围(全局)的键盘快捷键在 Java 应用程序中执行操作?
Is there any way or a library to get a system-wide (global) keyboard shortcut to perform an action in a Java application?
推荐答案
没有,但是在windows下可以这样用:
There is not, but in windows you can use this:
jintellitype
不幸的是,对于 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 系统范围的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Java 系统范围的键盘快捷键


- C++ 和 Java 进程之间的共享内存 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01