ICT 214 Tutorial Week 8

  1. Compile and run some of the examples from the lecture
  2. Change the code for BounceThread so that each ball disappears after, say, 2000 moves. Do this by letting the run() method finish.
  3. Change the code for BounceThread so that after a ball has done 2000 moves then it creates another ball in a new thread.

Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Last modified: Tue Apr 8 09:46:30 EST 2008
Copyright ©Jan Newmarch