Answers for "how to get mouse location 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 location java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language