You can get the x,y position of your mouse by using the code below.
GeSHi (java):
import java.awt.MouseInfo;
public class Mouse {
while(true){
System.
out.
println("("+MouseInfo.
getPointerInfo().
getLocation().
x+
", "+MouseInfo.
getPointerInfo().
getLocation().
y+
")");
}
}
}
Created by GeSHI 1.0.7.20