Chapter 7
Java Applets
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-2
FIGURE 7.1 A display of the applet Wel2
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-3
FIGURE 7.2 A display of the output
of the applet Rectangles
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-4
FIGURE 7.3
A display drawn by the applet Polygons
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-5
TABLE 7.1 Predefined Java Colors
and Their RGB Values
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-6
TABLE 7.1 Predefined Java Colors
and Their RGB Values (Continued)
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-7
FIGURE 7.4
Results of running the Pizza applet
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-8
TABLE 7.2 Event Classes
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
7-9
TABLE 7.3 Semantic Event Listener
Interfaces and Their Handler Methods
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.