JMSL Tutorial: MusicJob

We now have a Playable that prints a message in its play() method. We add unique messages to two stock MusicJobs' start, repeat, and stop playables. Check out the applet source, and watch it work below.

You need a Java-enabled browser to view this applet.
Next, we will mix these techniques and have an overridden repeat() method randomly choose a Playable every time it repeats.
Previous Tutorial Index Tutorial Contents Next

  (C) 1997 Phil Burk and Nick Didkovsky, All Rights Reserved
  JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.