code: public float remainingHeight() {
          float result = 0f;
          for (Iterator i = images.iterator(); i.hasNext();) {
              Image image = (Image) i.next();
              result += image.getScaledHeight();
          }
          return remainingLinesHeight() + cellspacing + 2 * cellpadding + result;
      }
docs: Returns the height needed to draw the remaining text.
  
  @return a height