Answers for "return x position 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