Unformatted text preview: f context as the canvas to which things are drawn 5) the Component class uses paintComponent method to produce the drawing. The viewer class uses main method to construct a frame and the component class adds the component to the frame and mak e the frame visible. 11) The two intersection points do not show up right on top of the actual intersections. The two points are on the wrong place. Placing a 'minus -' after the radius should fix the problem....
View Full Document
This note was uploaded on 03/19/2008 for the course CS 046A taught by Professor S during the Fall '07 term at San Jose State.
- Fall '07