Chapter 2. Applets and Applications

In this chapter, we will cover the basics of developing graphical Java applets and applications. We'll include some simple code that highlights the key methods used in any applet or application, and we'll discuss the relationship between an applet and the java.awt package. First, we'll take a look at applets, and then we'll go into some detail about applications, noting differences and implications of each as we proceed.

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.