Chapter 9. Applets and Basic Graphics
Topics in This Chapter
Creating applets: Java programs that are embedded in Web pages
The applet life cycle
Customizing applets through parameters embedded in HTML
The Java Plug-In
Creating graphical applications: Java programs that run independently of a Web page or browser
Basic drawing, color, font, and clipping area operations
Loading and drawing images
Preloading images
Controlling image loading with MediaTracker
In this chapter we discuss the two basic types of graphical Java programs: applets and applications. For applets, we explain how to create them, how to associate them with Web pages, and how to supply customization parameters through the PARAM element. For applications, we discuss one common approach ...
Get Core Web Programming, Second 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.