Solved

Files

Posted on 2004-03-26
8
150 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
rhino JavaScript import, load 25 82
javap not working 8 45
tomcat administrtor 12 47
Java Restore security prompts not working 10 12
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…
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 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:

773 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