Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Files

Posted on 2004-03-26
8
Medium Priority
?
155 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 17

Expert Comment

by:krakatoa
ID: 10686240
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 600 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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…
Suggested Courses

916 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