com.valhalla.jbother.sound
Class SoundPlayerThread

java.lang.Object
  extended bycom.valhalla.jbother.sound.SoundPlayerThread
All Implemented Interfaces:
java.lang.Runnable

class SoundPlayerThread
extends java.lang.Object
implements java.lang.Runnable

Plays a sound using the Java Sound System

Version:
?
Author:
jresources.org

Constructor Summary
SoundPlayerThread(SoundPlayer player, java.lang.String file)
          Sets up the thread with a specified sound
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundPlayerThread

public SoundPlayerThread(SoundPlayer player,
                         java.lang.String file)
Sets up the thread with a specified sound

Parameters:
player - the calling player
file - the .wav file to play
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable