Graphics

One of the most enticing aspects of a computer is its capability to render graphical content. Right now, you're probably eager to use the AWT to create some graphics. However, before you can let your imagination and creativity run rampant, you first need to learn about the AWT's approach to drawing.

The Fundamentals of Drawing

In the last chapter, you learned that JFC applets (or just applets for short) are assigned rectangular display areas in which to draw their output. These display areas (also known as drawing surfaces) are implemented as objects created from subclasses of the AWT's abstract Component class. Although Component will not be discussed until the next chapter, its influence is pervasive throughout the AWT. Keep this influence ...

Get Special Edition Using Java 2 Standard Edition 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.