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

The Image Class and the Image Package

The AWT provides a java.awt.Image class. References to java.awt.Image are passed to methods of other AWT objects for displaying and manipulating images. For instance, images can be displayed in a component by invocation of invoking Graphics.drawImage(java.awt.Image, int, int, ImageObserver).

java.awt.Image is an abstract class that defines methods which provide access to information about an image. The infrastructure for creating and manipulating images resides in the java.awt.image package, not to be confused with the java.awt.Image class.

Nearly all of the classes in the java.awt.image package are concerned with either producing images or consuming them. Image producers are responsible for producing the ...

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