开发者

How can I get mouse location out of my java application?

开发者 https://www.devze.com 2023-02-12 21:30 出处:网络
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.

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.


I think the answer you are looking for is this.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号