* has an error.
*/
public boolean isImageReady() throws GraphicException {
synchronized (this.imageStatus) {
if (this.imageStatus.intValue() == ImageConsumer.IMAGEABORTED) {
throw new GraphicException("Image aborted");
}
if (this.imageStatus.intValue() == ImageConsumer.IMAGEERROR) {
throw new GraphicException("Image error");
}
if (this.imageStatus.intValue() == ImageConsumer.STATICIMAGEDONE
|| this.imageStatus.intValue()
== ImageConsumer.SINGLEFRAMEDONE) {