ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java
public void loadPictureImd(URL imageUrl, double rotation) {
    Tools.log("loadPictureImd invoked with URL: " + imageUrl.toString());
    if (sourcePicture != null) sourcePicture.removeListener(this);
    sourcePicture = new SourcePicture();
    sourcePicture.addListener(this);
    setStatus(LOADING, "Loading: " + imageUrl.toString());
    scaleAfterLoad = true;
    sourcePicture.loadPicture(imageUrl, rotation);
  }
public void loadPictureImd(URL imageUrl, double rotation) {
    Tools.log("loadPictureImd invoked with URL: " + imageUrl.toString());
    if (sourcePicture != null) sourcePicture.removeListener(this);
    sourcePicture = new SourcePicture();
    sourcePicture.addListener(this);
    setStatus(LOADING, "Loading: " + imageUrl.toString());
    scaleAfterLoad = true;
    sourcePicture.loadPicture(imageUrl, rotation);
  }
public void loadPictureImd ( URL imageUrl , double rotation ) { Tools . log ( "loadPictureImd invoked with URL: " + imageUrl . toString ( ) ) ; if ( sourcePicture != null ) sourcePicture . removeListener ( this ) ; sourcePicture = new SourcePicture ( ) ; sourcePicture . addListener ( this ) ; setStatus ( LOADING , "Loading: " + imageUrl . toString ( ) ) ; scaleAfterLoad = true ; sourcePicture . loadPicture ( imageUrl , rotation ) ; }
Synchroneous method to load the image.
It should only be called by something which is a thread itself such as the HtmlDistillerThread.
Since this intended for large batch operations this bypasses the cache.

@param imageUrl The Url of the image to be loaded
@param rotation The angle by which it is to be roated upon loading.
Synchroneous method to load the image . It should only be called by something which is a thread itself such as the HtmlDistillerThread . Since this intended for large batch operations this bypasses the cache .