code: @Override
      public void paint(Graphics graphics, Shape allocation)
      {
          Graphics2D g = (Graphics2D) graphics;
          Rectangle alloc = toRect(allocation);
  
          if (isVisible()
                  /*&& intersection(alloc, box.getAbsoluteBounds(), tmpRect)*/)
          {
              paintHighlights(g, alloc);
              box.getVisualContext().updateGraphics(g);
              box.drawBackground(g);
  
              if (content != null)
              {
                  content.draw(g, box.getContentWidth(), box.getContentHeight());
  
                  if (repImage != null && repImage.getImage() == null)
                  {
                      if (!"".equals(alt))
                      {
                          // so we have replaced image, which has no image data...
                          // :)
  
                          g.setFont(DEFAULT_FONT);
                          g.setColor(Color.BLACK);
                          //tmpRect = box.getAbsoluteContentBounds();
                          // alternative picture representation (screen readers)
                          // TODO hint : java accessibility !!!
                          //g.drawString(alt, tmpRect.x + 2, tmpRect.y
                          //        + (int) (tmpRect.height * 0.7));
                      }
                      else
                      {
                          drawCross(g);
                      }
                  }
              }
              else
              {
                  drawCross(g);
              }
  
          }
  
      }
docs: {@inheritDoc}