This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AudioClip no sound

 
speed hkhk
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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");
}
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic