Java get mouse position on screen by double mouseXPoistion = MouseInfo.getPointerInfo().getLocation().getX(); double mouseYPosition = MouseInfo.getPointerInfo().getLocation().getY();double mouseXPoistion = MouseInfo.getPointerInfo().getLocation().getX(); double mouseYPosition = MouseInfo.getPointerInfo().getLocation().getY(); Please Share