D
D
DR_Demons2014-06-03 22:14:44
Java
DR_Demons, 2014-06-03 22:14:44

How to make global mouse control in java?

Hello! I am learning Java. The following question arose: it is necessary to implement a global control of the mouse cursor, or, for example, so that my application intercepts the active window and performs its functionality inside it. I made a version of the program on swing, it controls the cursor, but only in its own window, I want to improve it, but I don’t have enough knowledge, tell me which way to dig?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moxa, 2014-06-05
@Moxa

java.awt.Robot can control the mouse and keyboard, maybe it will be enough

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question