next up previous
Next: Make a snowperson Up: Assignment 4: Snowpeople! Previous: Assignment 4: Snowpeople!

Make a new project

1.
Create a new project named Snowperson.$\pi$, and make it an Applet. If you need more detailed instructions, refer to the Olympics lab handout.
2.
If you are using your solution to the Olympics problem, you will want to take your code and wrap it up in a method named paintRings, as I did in my solution. The arguments to paintRings should be the Graphics object g, and four ints that specify the bounding box.

3.
If you are using my solution, you can pick it up from the General Server.

(a)
Select Chooser from the Apple Menu. Click on the AppleShare icon. Select COLBY from the list of AppleTalk Zones. There should be three machines in that zone, listed under the words ``Select a file server.'' Double-click on the General Sever.
(b)
A window will appear asking you to register. Click the Guest button and OK. An icon representing the General Server should appear on the desktop.

(c)
Close the chooser and double-click on the new icon. Open the folder named ``Course materials.'' Then open the folders named ``CS,'' ``CS115,'' and ``Java Examples.'' You should see all the sample code I have passed out so far, including Olympics.java.

4.
Cut the paintRings method from Olympics.java and paste it into Snowperson.java. Test your program extensively before you proceed.


next up previous
Next: Make a snowperson Up: Assignment 4: Snowpeople! Previous: Assignment 4: Snowpeople!
Allen B. Downey
2/25/1998