O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image Producers and Image Observers

Image producers produce the bits associated with an image for delivery to an image consumer.[1] Image production is an asynchronous activity, so the AWT also provides image observers for monitoring the production of images by an image producer. The java.awt.image package defines interfaces for image producers, consumers, and observers.

[1] See “Image Filtering” for more details about image consumers.

Asynchronous Image Production

Much of the image manipulation that takes place in the AWT happens asynchronously. For example, when the call to drawImage() returns in the code fragment below, the image may not be showing at all. If none of the image was loaded at the time of the call, drawImage() would have nothing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required