java get mouse coordinates

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "java get mouse coordinates"
Tracey
03 Jul 2020
1int x =  MouseInfo.getPointerInfo().getLocation().x;
2int y = MouseInfo.getPointerInfo().getLocation().y;