How to insert Gif animation into jframe?

Thanks
[13 byte] By [deviancea] at [2007-10-3 8:29:35]
# 1
Im pretty sure you can do it just like any other image.
CaptainMorgan08a at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 2
im using this moment a JPG imageand when i change the URL of the .JPG file to .GID file which is animationi just see the first frame and when i minmized and maximized i see some other frame of the Animation...
deviancea at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 3
Then repaint frequently.
CaptainMorgan08a at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 4
how do i repaint any second?
deviancea at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 5
Use a Thread or a Timer.
CaptainMorgan08a at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 6
i dont know how to do that?use while loop that never ends?ro there is other way to repaint every second
deviancea at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 7
[url http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]How to Use Timers[/url]
camickra at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...
# 8
i try but its still not working well its kind of stuck and doesnt work smooth...
deviancea at 2007-7-15 3:36:28 > top of Java-index,Java Essentials,Java Programming...