import java.awt.*;
import java.applet.*;
public class SoundDemo extends Applet {
AudioClip a;
String filename;
public void init() {
filename = getParamete("Filename");
a=getAudioClip(getCodeBase(),filename);
a.loop();
add(new Label("Playing "+filename));
}
public void start() {
a.loop();
}
public void stop() {
a.stop();
}
}
No replies to this topic
#1
Posted 07 January 2010 - 11:47 AM
As I don't want to fuss about it.
|
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









