getX() and getY() are used to obtain X AND Y coordinates of the mouse.
Previous Question Next Question
Your comments will be displayed only after manual approval.