帮帮忙 为什么 audioclip不行呢 急啊
import java.awt.*;import java.applet.*;
public class Demo3 extends Applet
{
AudioClip music;
public void init()
{
music=getAudioClip(getDocumentBase(),"sihong.wav");
}
public void start()
{
music.play();
music.loop();
}
}
htm里是<HTML>
<BODY >
<APPLET
code = "Demo3.class"
width = "100"
height = "50"
>
</APPLET>
</BODY>
</HTML>
总是放不出声音啊 这是为什么啊