I wrote an
applet, that should load an wav-file. The wav-file and the class-files of the applet are at the same directory of the server, but the applet cannot load it. I always get the FileNotFoundException, when I want to get out the audioformat of the file:
File file = new File("music.wav");
AudioFormat af = AudioSystem.getAudioInputStream(file).getFormat();
I don't know, why it doesn't work.
Please help me!
THANX