go to previous page   go to home page   go to next page

Answer:

Yes, I always do.


Plan for a Picture

house and a tree

Artists make sketches and preliminary drawings before starting on a big project. When planning to use Java to draw a picture, it is useful to have a sketch on graph paper, like the above.

The picture is made using rectangles, lines, and ovals. The Java Graphics object has methods for drawing each of these.

The area for the applet is 350 pixels wide, 250 pixels high. The graph paper is much larger than that.

Artists use the sketch to help them transfer their ideas to canvas. We will use the sketch to transfer our ideas into a program. The location of objects in terms of X Y coordinates can be read off the graph paper.


QUESTION 2:

What is the location of the upper left corner of the house?

What is the width and height of the house?