Rectangle contentBounds = replaced.getContentAreaEdge( replaced.getAbsX(), replaced.getAbsY(), c);   Point loc = replaced.getReplacedElement().getLocation(); if (contentBounds.x != loc.x || contentBounds.y != loc.y) { replaced.getReplacedElement().setLocation(contentBounds.x, contentBounds.y); }
    private void paintReplacedElement(RenderingContext c, BlockBox replaced) {        if (! c.isInteractive()) {            c.getOutputDevice().paintReplacedElement(c, replaced);        }    }