[SOLVED] Audio in Applet
I'm trying to play an audio file in an applet, but for some reason it isn't working. I've Googled solutions, but from what I've seen I'm doing it right. If anyone can point me toward a better tutorial or something, please do.
public class Window extends Applet implements Runnable, KeyListener
public AudioClip bgMusic = getAudioClip(getCodeBase(), "Song1.au");
public void init()
Heh... I moved " = getAudioClip(getCodeBase(), "Song1.au");" into init() and it worked. K well, thanks anywho... lol.