File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

AudioClip no sound

speed hkhk

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:
subject: AudioClip no sound
It's not a secret anymore!