Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

How to embed a "multimedia player" into java GUI?

Thread view: 
bigwood - 01 Apr 2006 16:42 GMT
How to embed a "multimedia player" into java GUI?

Environment: WIN XP, jdk1.5.0, Flash 8, ...

I need to embed a "multimedia player" into java GUI. It shall be able
to:
1) Call other programs or java class to play multimedia contents (i.e,
1. play .avi video 2. play .swf Flash 3. play .wav audio 4 display .jpg
& .gif image 5. run .exe file

(by OpenGL) to display 3D graphics 6. run java class (by java 3D) file
to display 3D graphics)
2) The contents must be displayed in a java GUI container (i.e, JPanel
or any other container)
I searched the Internet and noticed I might use
Runtime.getRuntime().exec(),
http://java.sun.com/developer/JDCTechTips/2003/tt0304.html

This approach can surely satisfy requirement 1), but I am thinking that
the requirement 2) is very hard to satisfy.
For instance, I can call Windows Media Player to play an .avi video, or
call Flash Player to play an .swf file.
However, how can I embed the Windows Media Player or Flash Player into
any java GUI container?
Windows will pop out an new window and I can not embed the new window
into a Java GUI container!

Any advice or suggestion will be highly appreciated.
Thanks in advance.
TW
andrewthommo@gmail.com - 03 Apr 2006 05:50 GMT
> How to embed a "multimedia player" into java GUI?

Look into JMF (Java Media Framework)

> Environment: WIN XP,  ...

Have you considered .NET?

Andrew T.
bigwood - 11 Apr 2006 00:18 GMT
Thank you, Andrew.
I won't consider .NET because I am required to write an applet.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.