TUTORIALS POINT
}
}
publicvoid stop()
{
if(clip !=null)
{
clip.stop();
}
}
}
Now, let us call this applet as follows:
<html>
<title>The ImageDemo applet</title>
<hr>
<appletcode="ImageDemo.class"width="0"height="0">
<paramname="audio"value="test.wav">
</applet>
<hr>
</html>
You can use your test.wav at your PC to test the above example.