Solved

Looking for info on displaying video in Swing

Posted on 2003-11-24
6
279 Views
Last Modified: 2010-03-31
Does anyone know of a Swing component capable of displaying video images, or know of a site which might contain information about doing this?
0
Comment
Question by:derekl
  • 3
  • 2
6 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 200 total points
ID: 9813621
0
 

Author Comment

by:derekl
ID: 9813631
Many thanks!
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9813642
Can't vouch for the quality 8-)
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 86

Expert Comment

by:CEHJ
ID: 9813761
0
 
LVL 2

Expert Comment

by:SuperKarateMonkey
ID: 9813819
Use JMF:

http://java.sun.com/products/java-media/jmf/

There's a pre-fabbed component already cobbled together for you that's super-easy to work with.  It's the:

javax.media.bean.playerbean.MediaPlayer

and it extends java.awt.Component, while implementing the mediaplayer interface, javax.media.Player:

http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/javax/media/bean/playerbean/MediaPlayer.html

If there's functionality you need that's not available you could always re-implement the class with the abilities you need, it's pretty flexible, playing almost any media that your system would understand.
0
 
LVL 2

Expert Comment

by:SuperKarateMonkey
ID: 9813839
Oops!  Answer already accepted!  Never mind.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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:

777 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