This is the code I used to play a sound in my program that will notify the user the something has happened. URL url = //url to the wav file I want played AudioClip clip = Applet.newAudioClip(url); clip.play(); What I am experiencing is that the sounds is played sometimes and sometimes not. It is played more offten than not, but still it happens that sometimes it is not. Am I doing something wrong? Any suggestions what might be the problem? Thanks.
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad: