Yes, there is a sound effect, I think that might be it. I just took it out and it helped.
It's just an AudioClip class from Java 1.1 Applet package and I'm using the standard play() method.
Is there a better way to handle sound effects? I need to stick with Java 1.1, however.
I suppose u use Applet.getAudioClip(url) and then play().
I had the same problem, and i think i was cause it have to load the data everytime u want get the audioclip.
U can use classes of the package sun.audio (no standard, but maybe it can help u). In AudioPlayer u can specify a InputStream, so u can load the data of the audioclip in an array of bytes, and then use this array in a class of this package which extends of InputStream.
Sorry, but I have no the code here, so this is that i remember of it.... If u wish try to search documentation about the package sun.audio