aspose file tools*
The moose likes Applets and the fly likes AudioClip no sound Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "AudioClip no sound" Watch "AudioClip no sound" New topic
Author

AudioClip no sound

speed hkhk
Greenhorn

Joined: Nov 13, 2011
Posts: 1
When i try to run an applet using eclipse but can't get the sound....
If i using borland jbuilder to run, it gets the sound, is the sound track path location wrong???
i have already put it in same folder and some of my friend also have same problem when using eclipse


public void init() {
bgSound = getAudioClip(getCodeBase(),"train.wav");
beep = getAudioClip(getCodeBase(), "whistle.wav");
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AudioClip no sound
 
Similar Threads
Sound not loading
sound
Add music to applet?
Java sound-err->Windows Media Player cannot pla
Audio file won't play - play() not working?