ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java
public void createScaledPictureInThread(int priority) {
    setStatus(SCALING, "Scaling picture.");
    ScaleThread t = new ScaleThread(this);
    t.setPriority(priority);
    t.start();
  }
public void createScaledPictureInThread(int priority) {
    setStatus(SCALING, "Scaling picture.");
    ScaleThread t = new ScaleThread(this);
    t.setPriority(priority);
    t.start();
  }
method that creates the scaled image in the background in it's own thread.

@param priority The priority this image takes relative to the others.