Homework 7

Out: Tue 17 March 1998
Due: During Lab Session, or in 1 week

Programming Assignment:

Starting from the ShapesOne.java program, using your creativity, make your own Shapes applet which draws a nice picture on the screen.

Try to use some programming with looping and calculations of x, y positions. Explore the Graphics object's methods and try methods which seem interesting to you. We have already done together drawString, fillRect, fillOval and setColor. For instance, ShapesTwo.java makes a filled rectangle within a filled rectangle, etc., each a different color.

Do a few. Have fun. Be creative. We'll be back to business next week!

Use PostIt to submit your homework. There are further instructions about how to do this.