1

I've used class MouseInfor,but it can only help get location on the interface of my app.

How can I get mouse location out of the app? And I read similar questions on this site.

Somebody said I could use JNI or some API to interact with O.S. So,is there some API

available or how to use JNI?

Thanks for helping.

slee
  • 493
  • 1
  • 5
  • 17

1 Answers1

2

I think the answer you are looking for is this.

Hope this is correct, I apologise if it is not.

Community
  • 1
  • 1
AMadmanTriumphs
  • 4,888
  • 3
  • 28
  • 44