Note: Nothing is displayed on the applet, only the sound is playing

Java Code

import java.awt.*;
import java.applet.*;
import javax.swing.*;

public class AudioPlay extends JApplet 
{
    String audioFilename = "mySounds.mid";
    AudioClip ac;

    public void init( )
    {
	ac = getAudioClip( getCodeBase( ), audioFilename );
	ac.play( );
    }
}


©2006 by E.S.Boese. All Rights Reserved