java get mouse coordinates

Solutions on MaxInterview for java get mouse coordinates by the best coders in the world

showing results for - "java get mouse coordinates"
Tracey
03 Jul 2020
1int x =  MouseInfo.getPointerInfo().getLocation().x;
2int y = MouseInfo.getPointerInfo().getLocation().y;