Solved

Play animation in Java Application.

Posted on 2004-10-16
5
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

707 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