S
S
Shultc2013-03-05 21:31:06
Java
Shultc, 2013-03-05 21:31:06

Java - Global Keyboard Tracking

Hello Khabrovites!

I am writing a program in JAVA, and I ran into such a problem: I need to track the keyboard at the moment when the program is minimized. Sometimes it's keyboard shortcuts, and sometimes it's simple text input.

I read somewhere that we don’t implement this in JAVA at all (you need to connect other languages ), someone says that it’s quite easy to do it on the contrary ... Someone advised me to use MSDN , but I haven’t figured it out with it yet, and I still haven’t I'm sure I don't want to make the application cross-platform if I don't have to spend a lot of time on it.

Has anyone encountered a similar problem? And if so, can anyone give me some advice?

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Moxa, 2013-03-05
@Moxa

https://code.google.com/p/jintellitype/ - global hotkeys under Windows, there are also links to libs for Linux and poppy ... I didn’t try it under poppy, but I didn’t want to work in Linux (

G
golden13, 2013-03-06
@golden13

If you use swt, then you can implement it through the tray. It will be “like cross-platform”, except for the fact that you need to have swt for each system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question