O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Applets

Applets are Java programs that execute within a Java-enabled web browser. Most of the graphical support required for an applet to execute is built in to the browser. The major implication for applet developers is that they don't need to worry about creating a frame for the applet to execute in.

Using the Appletviewer

Applets are launched Applets are launched by embedding the applet HTML tag in a web page and then viewing that page with a Java-enabled browser or the appletviewer that comes with the Java Development Kit (JDK).

For consistency and ease of illustration, all of the applets in this book are used in the following way:

appletviewer applet_name.html

In this syntax, applet_name.html is a minimal HTML file that can be used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required