wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to give animation to images? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to give animation to images?" Watch "how to give animation to images?" New topic

how to give animation to images?

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 979
how to give more effects to image, i have a fish image, that is moving around the JFrame, and what i want also animation in fins of fish, how can i do this??
here is my code:-

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
just a thought only:

if you understand how cartoons are animated i.e. lots of drawings each drawn a little differently,
then shown in quick succession so the drawings appear to have movement, maybe if you can get
a slideshow (?) of images of a fish swimmming, then, as you move the fish position you also change
the image to the next one in the slideshow.
I agree. Here's the link: http://aspose.com/file-tools
subject: how to give animation to images?
Similar Threads
problem in getPosition and setPosition......
Calling an applet from another class of the same package
problem in creating more than one objects
Problem in passing color as a parameter
Balls are not moving