Answers for "how to get mouse position when the mouse pointer is moved in java"

1

java get mouse coordinates

int x =  MouseInfo.getPointerInfo().getLocation().x;
int y = MouseInfo.getPointerInfo().getLocation().y;
Posted by: Guest on January-30-2021

Code answers related to "how to get mouse position when the mouse pointer is moved in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language