So, I got this idea that I could make a simple game in Java, with animated GIFs for the running animations, but I have a problem, although Java will display the animation on a JLabel when made into an Icon, but I don't know how to, and can't seem to come across a way to, animate a GIF with Graphics or Graphics2D.

Any thoughts, links, or advice welcome. Thanks.

unable to edit last post, sorry about the double post and the bump, but I thought about something else that I could use some advice on.

Once I can use an animated GIF (still haven't figured it out), I will also need to be able to stop the animation, and possibly display only one of the frames for some time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.