-
MediaTracker. image tracks mouse PLEASE HELP!!!
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks