Forgive me, I am new to this...
How do I insert this applet (seen below)into my web page to get it to work?
Are there variables I need to fill in?
Is there other code to insert to get this code to work?
Any help would be greatly appreciated. Thanks
---------------------
import java.applet.AudioClip;
import java.awt.Button;

public class AudioClipPlay extends java.applet.Applet {
AudioClip audioClip;
Button play, loop, stop;

// Applet role
public void init() {
// Get sound.
audioClip = getAudioClip( getCodeBase(), "dong.au" );

// Create GUI.
add( play = new Button( "play" ) );
add( loop = new Button( "loop" ) );
add( stop = new Button( "stop" ) );
}

// Component role (1.02 event model)
public boolean handleEvent( Event event ) {
if ( event.target == play ) {
audioClip.play();
return true;
}
if ( event.target == loop ) {
audioClip.loop();
return true;
}
if ( event.target == stop ) {
audioClip.stop();
return true;
}
return super.handleEvent( event );
}
}
--------------------------------