Link to home
Start Free TrialLog in
Avatar of derekl
derekl

asked on

Looking for info on displaying video in Swing

Does anyone know of a Swing component capable of displaying video images, or know of a site which might contain information about doing this?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of derekl
derekl

ASKER

Many thanks!
Can't vouch for the quality 8-)
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.
Oops!  Answer already accepted!  Never mind.