public synchronized boolean waitForAll (long ms) throws InterruptedException

Starts loading all images tracked by this media tracker. This method waits until all the images being tracked have finished loading, or until the length of time specified in milliseconds by the ms argument has passed.

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:
ms    the number of milliseconds to wait for the loading to complete

Returns:  true if all images were successfully loaded; false otherwise

Exceptions:
InterruptedException    if any thread has interrupted this thread.

See also:
java.awt.MediaTracker.waitForID(int), java.awt.MediaTracker.waitForAll(long), java.awt.MediaTracker.isErrorAny, java.awt.MediaTracker.isErrorID