Do as many of the problems below as you can. You may do them in any order you wish -- you do not need to start with the first one. For problems with several parts you may do as many parts as you wish. You may use your notes and book.
<applet code="AppletName.class" width=320 height=300></applet>
NOTE: You replace "AppletName.class" with the name of your applet. You may also change the dimension of the applet if you wish. The Applet Wizard has been automatically generating an HTML file for you and it always used the dimensions of 320 by 200.
Graphics g = getGraphics();
Once you have the graphics object, you can call the methods for the
graphics objects as usual. For example,
g.drawRect(50, 50, 100, 100);