Solved

Files

Posted on 2004-03-26
8
151 Views
Last Modified: 2010-03-31
Hi,

I would like some advice on how to create a media player that allows a user to select a file of MPEG or AVI and provides play and stop buttons whilst playing the file in a window.

Any advice on whether to use Swing or AWT or how to begin really would be very much appreciated.
Please bear in mind that I am rather new to Java so as simple and much information as possible would be great.

Thanks
Scott
0
Comment
Question by:SCOTT78
  • 3
  • 3
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 10686171
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 10686240
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 150 total points
ID: 10687074
>> Any advice on whether to use Swing or AWT

I would prefer to use Swing.

Tutorial on Swing: http://java.sun.com/docs/books/tutorial/uiswing/

Plenty of examples on: http://www.javaalmanac.com/cgi-bin/search/find.pl?words=Swing

For media-player, also see: http://www.javaworld.com/javaworld/jw-04-1997/jw-04-jmf.html
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 30

Expert Comment

by:Mayank S
ID: 10857754
Please proceed with that recommendation.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10858781
But apparently 'that recommendation' has not been acted upon...
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10859137
Perhaps that was closed by the questioner himself. Maybe that he found a complete solution in one of the links I posted.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10859170
Possibly 8-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 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:

820 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