Solved

Looking for info on displaying video in Swing

Posted on 2003-11-24
6
280 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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)
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

828 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