Search:

Type: Posts; User: hirsty

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,781

    Re: Applet problem with MouseEvent

    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
  2. Replies
    5
    Views
    1,781

    Re: Applet problem with MouseEvent

    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);
    ...
  3. Replies
    5
    Views
    1,781

    Re: Applet problem with MouseEvent

    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();
    ...
Results 1 to 3 of 3