The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Moving Images across the screen ?

Posted by Avin Sinanan on February 02, 2002 at 4:37 PM

Hey am building an application.. NOT AN APPLET... and i was wondering if anyone knew how to do the following:

1)Make a gif image move from point (10,30) to (100,200).
2)The pic must move in a smooth motion.
3)Is there any way one can set how fast it moves between the points.

Does anyone have any code for this. Thanks.. I tried the site but it was just useless.. It just showed for an applet. Am not an expert in java so for me to see the similarities between the applplet cod eand application code is very difficult. I have a project due for next week and well I kinda need a crash course in Java animationa nd motion. Can anyonme help me? any kind of help would be grealty appreciated...


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us