This preview shows page 1. Sign up to view the full content.
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
- Fall '07