It's not a secret anymore!
The moose likes Applets and the fly likes Project in applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Project in applets" Watch "Project in applets" New topic

Project in applets

sowmya sigireddi

Joined: Feb 08, 2007
Posts: 1
Hi i am doing a project called MUSIC ON WEB.I am thinking of placing links to music so that a vendor would listen to the music first and then would buy the cd.Can anyone suggest how i can in core java include an application that gets the music file and plays it.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Welcome to JavaRanch.

The javax.sound package can play a number of music formats, although not MP3. Another option would be QuickTime for Java, which can play MP3s, but would require an extra library, and only runs on OS X and Windows.

What exactly do you mean by "gets the music file" - where is that file located?
I agree. Here's the link:
subject: Project in applets
It's not a secret anymore!