ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java
public Dimension getScaledSize() {
    if (scaledPicture != null)
      return new Dimension(scaledPicture.getWidth(), scaledPicture.getHeight());
    else
      return new Dimension(0, 0);
  }
public Dimension getScaledSize() {
    if (scaledPicture != null)
      return new Dimension(scaledPicture.getWidth(), scaledPicture.getHeight());
    else
      return new Dimension(0, 0);
  }
return the size of the scaled image or Zero if there is none