Cant hear anything on audioclip applet?

Hi,

Ive posted this to the sound and applet forum as didnt know which one was the problem.

I have created a simple program in JBuilder4 to play an audio clip. It compiles OK but when I run it I hear nothing.

Im using windows XP.

I checked the URL its correct and played the sound in Mediaplayer ok.

I dont get any error message when I run it, and just dont hear anything.

Any ideas?

thanks,

Jason.

[453 byte] By [deaconj1234a] at [2007-11-27 3:02:48]
# 1

sorry, I forgot the code:

public class AudioTest2 {

public AudioTest2() {

}

public static void main(String[] args) {

AudioTest2 audioTest21 = new AudioTest2();

try {

java.applet.AudioClip clip = java.applet.Applet.newAudioClip(new java.net.URL("file://c:/OU2007/TM427/AudioTest/Bullseye.wav"));

clip.play();

} catch (java.net.MalformedURLException murle) {

System.out.println(murle);

}

}

}

deaconj1234a at 2007-7-12 3:45:57 > top of Java-index,Security,Cryptography...