Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1

(^444) Chapter 11 Web Multimedia and Interactivity
Figure 11.12
A Java applet that
provides changing
text


Common Uses of Java Applets

Processing Navigation Bars and Buttons.Java applets can process interactive navi-
gation bars on Web pages. Visit http://javaboutique.internet.com/navigation/menu.html
and http://www.apycom.com for a variety of navigation and menu Java applets.

Manipulating Images. Java can be used to manipulate images in a number of
ways. Visit http://www.codebrain.com/java/codebrainslider for a sample slide
show. Perhaps one of the best known Java applet images is the Lake Applet from
http://javaboutique.internet.com/Lake, shown in Figure 11.11. This applet not only
manipulates the lower portion of an image to make it look like a lake, it also functions
as a hyperlink.

Figure 11.10
The Java Virtual
Machine interprets
the byte code into
machine language


Figure 11.11
The classic lake
applet


Creating Text Effects. Java applets can also be used to create text effects such as the
sample applet shown in Figure 11.12 (see the student files, Chapter11/java1.html). Other
text effects can be found at Web sites such as http://www.appletcollection.com/text.html.
Free download pdf