Yes. For example, if you double the resolution of the monitor in terms of the number of pixels it displays horizontally and vertically, the applet's rectangle will be half the previous size.
is one of the methods of a
drawOval( int X, int Y, int width, int height )
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.
The measurements are in terms of pixels.
The (X, Y) position is relative to the upper left hand corner of the applet's
It gives the location of the upper left corner of a rectangle.
height arguments give the horizontal
and vertical size of the rectangle.
drawOval() method draws the oval that fits inside the rectangle.
(It does not actually draw the rectangle.)
If the height and width of the rectangle are both the same,
what type of figure does