</COMMENT> No JDK 1.2 support for APPLET!!

You will need the Java 2 plugin for this applet to work in your browser. If you are seeing a Java error, then you may only have Java 1 (aka Java 1.1) installed.

To use this applet, type in the name of an audio file. Try typing in one of the following file names:

As written, the audio file must reside in the same directory as this applet. It could easily be changed to use any URL on the Web. However, that requres that you use the URL class, which isn't covered in this book. It also requires that you use the try and catch statements, which are covered in Chapter 11. If there is interest, we can post a version that does just this.