The JavaTM Tutorial

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form

Trail: Creating a GUI with JFC/Swing
Lesson: Working with Graphics

## Working with Graphics: Examples

> > Note: Examples are applets unless noted otherwise.

> Source Files | Image & Other Files | Where Described
> `AnimatorAppletTimer.java` | To run the applet: `AnimatorAppletTimer.html` To view the <APPLET> tag: `AnimatorAppletTimer.atag` | Creating an Animation Loop with Timer
> `AnimatorApplicationTimer.java` (an application) |  | Creating an Animation Loop with Timer
> `CoordinatesDemo.java` | To run the applet: `CoordinatesDemo.html` To view the <APPLET> tag: `CoordinatesDemo.atag` | Overview of Custom Painting
> `FontDemo.java` | To run the applet: `FontDemo.html` To view the <APPLET> tag: `FontDemo.atag` | Working with Text
> `ImageDisplayer.java` | `rocketship.gif` To run the applet: `ImageDisplayer.html` To view the <APPLET> tag: `ImageDisplayer.atag` | Overview of Custom Painting
> `ImageSequenceTimer.java` | Several images. To run the applet: `ImageSequenceTimer.html` To view the <APPLET> tag: `ImageSequenceTimer.atag` | Displaying a Sequence of Images
> `MTImageSequenceTimer.java` | Several images. To run the applet: `MTImageSequenceTimer.html` To view the <APPLET> tag: `MTImageSequenceTimer.atag` | Improving the Appearance and Performance of Image Animation
> `MovingImageTimer.java` | `rocketship.gif`, `starfield.gif` To run the applet: `MovingImageTimer.html` To view the <APPLET> tag: `MovingImageTimer.atag` | Moving an Image Across the Screen
> `MovingLabels.java` | `rocketship.gif`, `starfield.gif` To run the applet: `MovingLabels.html` To view the <APPLET> tag: `MovingLabels.atag` | Moving an Image Across the Screen
> `RectangleDemo.java` | To run the applet: `RectangleDemo.html` To view the <APPLET> tag: `RectangleDemo.atag` | Painting Shapes
> `SelectionDemo.java` | `starfield.gif` To run the applet: `SelectionDemo.html` To view the <APPLET> tag: `SelectionDemo.atag` | Overview of Custom Painting
> `ShapesDemo.java` | To run the applet: `ShapesDemo.html` To view the <APPLET> tag: `ShapesDemo.atag` | Painting Shapes
> `TextXY.java` | To run the applet: `TextXY.html` To view the <APPLET> tag: `TextXY.atag` | Working with Text

### Animation Images

> `T1.gif`, `T2.gif`, `T3.gif`, `T4.gif`, `T5.gif`,
> `T6.gif`, `T7.gif`, `T8.gif`, `T9.gif`, `T10.gif`

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form

Copyright 1995-2001 Sun Microsystems, Inc. All rights reserved.