Updated ScreenUtil api
This commit is contained in:
parent
8f59ca3669
commit
2f4e501d22
|
@ -64,7 +64,7 @@ class AsFrame extends JFrame implements INotify {
|
||||||
Point mouseLocation = MouseInfo.getPointerInfo()
|
Point mouseLocation = MouseInfo.getPointerInfo()
|
||||||
.getLocation();
|
.getLocation();
|
||||||
|
|
||||||
device = ScreenUtil.getGraphicsDeviceAt(mouseLocation);
|
device = ScreenUtil.getMonitorAtLocation(mouseLocation);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// set screen position based on specified screen
|
// set screen position based on specified screen
|
||||||
|
|
Loading…
Reference in New Issue
Block a user