Returns the monitor number in which the point (x,y) is located.
the x coordinate in the virtual screen.
the y coordinate in the virtual screen.
the monitor number in which the point (x,y) lies, or a monitor close to (x,y) if the point is not in any monitor.
Deprecated: Use Display.getMonitorAtPoint instead
2.2
Returns the monitor number in which the point (x,y) is located.