Font Demo Program

Here is an example program that shows how to change the font that will be used by the g.drawString method, using the Font class: