?
Solved

Play animation in Java Application.

Posted on 2004-10-16
5
Medium Priority
?
266 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

765 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