FileDocCategorySizeDatePackage
PlaySound.javaAPI DocExample864Sat Jan 24 10:44:38 GMT 2004je3.sound

PlaySound

public class PlaySound extends Object
Play a sound file from the network using the java.applet.Applet API.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

	java.applet.AudioClip clip =
	    java.applet.Applet.newAudioClip(new java.net.URL(args[0]));
	clip.play();