Updated ScreenUtil api

This commit is contained in:
nathan 2017-08-04 17:40:46 +02:00
parent 8f59ca3669
commit 2f4e501d22

View File

@ -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