Answers for "how to get mouseposition 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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language