In these examples students are encouraged to search the documentation to find out how to use various features.
drawString
test text
Font
new
Draw the logical name of the Font at 10,20 - do not change the font first.
Change the font so that it has size 20 and style Font.ITALIC. Draw "Hello World" to 10,30.