标签: java mouse multiple-monitors
我正在尝试使用MouseInfo.getPointerInfo().getLocation()访问鼠标的位置,但它会返回鼠标相对于主屏幕的位置。
MouseInfo.getPointerInfo().getLocation()
是否可以获得鼠标相对于左侧屏幕的位置?