Previous | Next | Trail Map | Creating a User Interface (AWT Only) | Working with Graphics

Using Graphics Primitives

The next few pages provide the details you'll need to generate primitive graphics and text.

Drawing Shapes

This page tells you how to draw shapes, such as lines, rectangles, ovals, arcs, and polygons.

Working with Text

This page tells you how to use draw text using the Graphics drawString() method. It also tells you how to use Font and FontMetrics objects to get information about a font's size characteristics.


Previous | Next | Trail Map | Creating a User Interface (AWT Only) | Working with Graphics