i trying to import a song that i already saved to my program
does anybody know how do that? I tried but i need help on starting the program and importing the song
It may sound funny but have a look at the static method
Applet.newAudioClip(URL url)
It's a static method so you don't need to have an applet ready for this, simply use
the method and it'll load an
AudioClip object for you which you can play etc.
All file formats specified in the
AudioFileFormat.Type class can be loaded.
Read the API documentation for them.
kind regards,
Jos