Introduction

The Canvas, Graphics, and Image classes of the java.awt package are fundamental to AWT painting and drawing. You will learn how to use these classes to display bitmapped images and draw geometric shapes. You will also learn how to use the Font class to control the way text is displayed. Understanding these classes is essential to developing GUI-based applets and applications. The certification exam might have a few questions that call upon your knowledge of these classes. By studying the class descriptions of this chapter and working the programming examples, you should be able to do well on related exam questions.

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.