How to capture screen image with mouse pointer on it in Java

后端 未结 2 582
独厮守ぢ
独厮守ぢ 2020-12-11 03:51

How to capture screen image with mouse pointer on it in Java? In know that i can capture screen with Robot class, but it captures screen without mouse pointer on it, so this

2条回答
  •  忘掉有多难
    2020-12-11 04:30

    You can use Java Native Access in order to access operating system specific mouse cursors/pointers dynamically.

提交回复
热议问题