i would like to put a picture and make it look as if the picture is attached to the mouse cursor. i would then set the cursor to opaque(true); and make it look as if the picture is the mouse cursor. i was wondering if anyone could provide me with a very simple code to do this. i tried using the MediaTracker but so far i've had no luck with the coding. i would prefer code that i could use for an application instead of an applet. thanks in advance. a link to a perfect example of what i'm looking for is here - http://javaboutique.internet.com/centipedo/.

the programmer used the MediaTracker to load the images, set the x and y coordinates and made it so that the picture moved according to the movement of the mouse cursor.