?
Solved

Play animation in Java Application.

Posted on 2004-10-16
5
Medium Priority
?
276 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 600 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 600 total points
ID: 12330337
0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 800 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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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