public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer("ImageComponent[");
    if (this.CurrentImage == null) {
      localStringBuffer.append("null image");
    }
    else if (ImageNamer != null)
    {
      localStringBuffer.append("(\"");
      localStringBuffer.append(ImageNamer.getImageFilename(this.CurrentImage));
      localStringBuffer.append("\")");
    }
    else if (this.ImageFilename != null) {
      localStringBuffer.append(this.ImageFilename);
    } else {
      localStringBuffer.append("unknown filename");
    }

    localStringBuffer.append(",");
    localStringBuffer.append(getSize());
    localStringBuffer.append("]");
    return localStringBuffer.toString();
  }