The Artima Developer Community
Sponsored Link

Java Answers Forum
Animated Gifs in JAVA

4 replies on 1 page. Most recent reply: Jun 6, 2002 6:53 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Whitefire

Posts: 2
Nickname: whitefire
Registered: May, 2002

Animated Gifs in JAVA Posted: May 19, 2002 8:57 AM
Reply to this message Reply
Advertisement
I saw an applet on the Internet that could draw animated gifs. I know this because I got the class files (and images). The same animations used in the program were found in the gifs. Does anyone know how to draw animated gifs??


Bart Pelsmaekers

Posts: 12
Nickname: ikken
Registered: May, 2002

Re: Animated Gifs in JAVA Posted: May 19, 2002 11:48 AM
Reply to this message Reply
you just have to put the animated gif in a jlabel

JLabel label=new JLabel(new ImageIcon("animated.gif"));

Or you can make them in java with the java media framework (you can download that at java.sun.com)

john mattucci

Posts: 8
Nickname: mats26
Registered: Apr, 2002

Re: Animated Gifs in JAVA Posted: May 21, 2002 8:12 AM
Reply to this message Reply
u can draw animated gifs in photoshop

Whitefire

Posts: 2
Nickname: whitefire
Registered: May, 2002

Re: Animated Gifs in JAVA Posted: Jun 6, 2002 2:18 PM
Reply to this message Reply
> you just have to put the animated gif in a jlabel
>
> JLabel label=new JLabel(new
> ImageIcon("animated.gif"));
>
> Or you can make them in java with the java media
> framework (you can download that at java.sun.com)

Thank you!!

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Animated Gifs in JAVA Posted: Jun 6, 2002 6:53 PM
Reply to this message Reply
> u can draw animated gifs in photoshop

Ah ha, so all you have to do is write an applet that contains PhotoShop! That should be easy enough.

Flat View: This topic has 4 replies on 1 page
Topic: Adding to a Vector problem Previous Topic   Next Topic Topic: How to get this work?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use