Lab 5 -- A Wintery application - demo by Monday, 10/13

Write a Java application that will display several snowpeople of various sizes at various locations around the screen. To simulate warm weather, make the snowfolk melt some each time the user pushes a Button labeled "warm sunny day". When a snowperson melts, increase the size of a gray puddle of melted snow under it.

Follow the instructions in Chapter 6 and the lectures to complete this lab.

Extra Credit

  1. Put an EyePair on the head of each snowperson, make the eyes follow the cursor!
  2. Create 50 (or more) snow folk at random locations with random sizes, and when the user clicks on the screen make them all move towards the cursor (or, if you like, make them move towards the mouse when it moves).
  3. Put them all on snowboards!