Chapter 20. Applets and Java Web Start

Observe due measure, for right timing is in all things the most important factor.

Hesiod

Painting is only a bridge linking the painter’s mind with that of the viewer.

Eugene Delacroix

The direction in which education starts a man will determine his future in life.

Plato

Objectives

In this chapter you’ll learn:

• What applets are and how they’re used in web pages.

• To observe some of Java’s exciting capabilities through the JDK’s demonstration applets.

• To write simple applets.

• To write a simple HyperText Markup Language (HTML) document to load an applet into an applet container and execute the applet.

• Applet life-cycle methods.

• About the sandbox security model for running downloaded code ...

Get Java™ for Programmers: Deitel Developer Series, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.