Here is a snippet of my code:
URL url = this.getClass().getClassLoader().getResource("sounds/eagle.mp3");
try {
player = Manager.createRealizedPlayer(url);
player.start();
}
The sound files are stored in a "sounds" folder included in the .jar (verified after export). Why is it not playing my sounds?

New Topic/Question
Reply




MultiQuote





|