had a lil mess around with your code in eclipse it does work, only if you click your mouse where you want the cursor to go, i think what your looking for is this: MouseMotionListener
Type: Posts; User: hirsty
had a lil mess around with your code in eclipse it does work, only if you click your mouse where you want the cursor to go, i think what your looking for is this: MouseMotionListener
alrighty not used that yet :) was just an assumption
just to get getting the focus the way in a program ive used this to automatically gain focus....
setFocusable(true);
...
x = e.getX();
y = e.getY();
e.translatePoint(x, y);
doesnt that mean your moving the cursor to the same position?
If im getting this right...
x = e.getX();
...