public abstract int getHeight (ImageObserver observer)

Determines the height of the image. If the height is not yet known, this method returns -1 and the specified ImageObserver object is notified later.

Parameters:
observer    an object waiting for the image to be loaded.

Returns:  the height of this image, or -1 if the height is not yet known.

See also:
java.awt.Image.getWidth, java.awt.image.ImageObserver