Chapter 14. The java.awt Package: Painting

OBJECTIVES

This chapter is a bonus chapter that covers techniques for painting, repainting, and clicking graphics. This material is not on the exam, but it is valuable if you build applets or applications that need to take advantage of Java's graphics primitive rendering, text, and image display capabilities. Learning objectives for the chapter include the following:

Know how the AWT supports painting, repainting, and clipping operations.

  • This knowledge is crucial for having your graphics appear properly within your applets and applications.

Know how the Canvas and Graphics classes are used to implement drawing and painting operations.

  • The Canvas and Graphics classes are fundamental to painting. This ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.