The Java TM Tutorial

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

Trail: Writing Applets
Lesson: Practical Considerations when Writing Applets

## Threads in Applets: The Full Example

> Below are two PrintThread applets. (Here's the code.) PrintThread calls `repaint()` unnecessarily every once in a while, so that you'll be able to see how its `update()` method gets called.

> > You can't run applets. Here's what you'd see if you could:

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