Solved

Play animation in Java Application.

Posted on 2004-10-16
5
241 Views
Last Modified: 2008-02-20
Hello, it's me again. :)

I'd like to play animated files in my Java Application. Such formats as: .GIF, .AVI, .WAV.
Unless there's a rather easy way to do this already, are there any recommended packages to use?

Any other info is much appreciated. :)

Thanks in advance,
[r.D]
0
Comment
Question by:DrWarezz
5 Comments
 
LVL 24

Accepted Solution

by:
sciuriware earned 150 total points
ID: 12326752
Just put such an animated gif in a JLabel and your movie is ready.
Avi's must be converted as far as I know.
.wav is a sound matter: the other door please, but truely supported.
;JOOP!
0
 
LVL 9

Author Comment

by:DrWarezz
ID: 12326942
>".WAV"
Woops, sorry, I ment ".MOV" (very easy to make that mistake :P hehe). But, don't worry about the format.

So, if I place an animated GIF into a JLabel, it will play the animation? :) (cool!)

>"Avi's must be converted as far as I know."
Could you elaborate a bit please? What sort of conversion must be made, and how do I make this conversion?

Thanks!
[r.D]
0
 
LVL 92

Assisted Solution

by:objects
objects earned 150 total points
ID: 12330337
0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 200 total points
ID: 12335886
For GIF use Label as said by sciuriware
for MOV and AVI u need to use JMF as said by objects
already said these by two learned people..


I would just add this lnik.. Which will help in playing AVI and MOV files.. its kind of a media player

http://rsb.info.nih.gov/ij/plugins/jmf-player.html
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12335911
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now