public boolean checkID (int id, boolean load)

Checks to see if all images tracked by this media tracker that are tagged with the specified identifier have finished loading.

If the value of the load flag is true, then this method starts loading any images that are not yet being loaded.

If there is an error while loading or scaling an image, then that image is considered to have finished loading. Use the isErrorAny or isErrorID methods to check for errors.

Parameters:
id    the identifier of the images to check
load    if true, start loading any images that are not yet being loaded

Returns:  true if all images have finished loading, have been aborted, or have encountered an error; false otherwise

See also:
java.awt.MediaTracker.checkID(int, boolean), java.awt.MediaTracker.checkAll(), java.awt.MediaTracker.isErrorAny(), java.awt.MediaTracker.isErrorID(int)