@@ -0,0 +1,408 @@
+import java.applet.*;%0A%0Apublic class AudioTest%7B%0A   public static void main(String%5B%5D args)%7B%0A//opens the file%0A      AudioClip aud = Sound.getClip(%22StarTrekOpening.wav%22);       %0A Sound.play(aud); //starts the clip%0A%0A      try%7B%0A    //pauses for 15 seconds (not accurate)%0A         Thread.sleep(15000); %0A      %7Dcatch(Exception e)%7B%0A         e.printStackTrace();%0A      %7D%0A      Sound.stop(aud); //stops the clip%0A   %7D%0A%7D%0A

Create AudioTest.java