• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems with loading wav-file

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic