/** * stops all picture loading except if the Url we desire is being loaded * * @param url The URL of the image which is to be loaded. */ public void stopLoadingExcept(URL url) { if (sourcePicture != null) { boolean isCurrentlyLoading = sourcePicture.stopLoadingExcept(url); if (!isCurrentlyLoading) { // sourcePicture.removeListener( this ); } PictureCache.stopBackgroundLoadingExcept(url); } }