In this workshop we use Greenfoot platform to animate a piano. First, the participants use the Greenfoot to construct a piano key in simple Java template. Then all white keys and black keys are in place. The keyboards are used to link with the keys to make sound note. Combining all sound note the participants can play their own music.
Skeleton code for you to kick start. In addition, a number of code segments are given to you to incrementally develop your piano
List of useful resources for constructing Java programs using Greenfoot