Is there any JAR libraries that allow to create global Windows hotkeys? [closed]

StackOverflow https://stackoverflow.com/questions/19741406

  •  03-07-2022
  •  | 
  •  

Вопрос

I want to create such application where it performs some action on clicking hotkey, BUT these hotkeys should be able to be pressed without being focused on my application. I mean, you could run some game(for example) and these global hotkeys stll work.

SO...is there any JAR libraries that allow to do this?

Это было полезно?

Решение

You should take a look at JNativeHook: https://code.google.com/p/jnativehook/

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top