|
What do you suppose happens if you forget the match to a
A good answer might be:The rest of the file is regarded as part of the head, and will not show up in the browser as you exepct. | |
Drawing CirclesThe previous applets in this chapter have only printed text. Here is an applet that draws a circle.
Here is what the applet paints:
The method drawOval is one of the methods of the Graphics object gr. It looks like this: This draws a circle or an oval that fits within the rectangle specified by the x, y, width and height arguments. The oval is drawn inside a rectangle whose upper left hand corner is at (X, Y), and whose width and height are as specified.drawOval( int X, int Y, int width, int height ) | |
QUESTION 11:If the height and width of the specified rectangle are both the same, what type of figure does drawOval draw? Click Here after you have answered the question |