Can anyone post code to play a simple song in an application.
I know how to play songs in an applet, but that doesn’t work with an application. Something with getCodeBase method can’t be found.
I’ve searched all over the internet, and they either use a really un-necessarily long tutorial or just paste code and don’t give any description on how it works. They just say “Use this code here” and don’t explain things.
I’m the kind of person that has to know what every little thing is for and means.
The good news is I’ve created an application that allows the user to control a character and run around the screen! I know maybe not that big of a deal but this is the first time I’ve ever done it so I’m pretty excited about it. Now I want to add music to it and then maybe floating bad guys around the screen to shoot at.
All help is appreciated.
