root.paint(c);
root.paint(c, 0, 0);
    protected void executeRenderThread(RenderingContext c, Layer root) {        //Uu.p("do render called");        //Uu.p("last render event = " + last_event);		        // paint the normal swing background first        // but only if we aren't printing.        Graphics g = c.getGraphics();        if (!(g instanceof PrinterGraphics) && explicitlyOpaque) {            g.setColor(getBackground());            g.fillRect(0, 0, getWidth(), getHeight());        }        long start = System.currentTimeMillis();        if (!c.isPrint()) {            root.paint(c);        } else {            renderPagedView(c, root);        }        long after = System.currentTimeMillis();        if (Configuration.isTrue("xr.incremental.repaint.print-timing", false)) {            Uu.p("repaint took ms: " + (after - start));        }        if (!c.isStylesAllPopped()) {            XRLog.render(Level.SEVERE, "mismatch in style popping and pushing");        }        last_event = null;    }