if (bh != null && bh.box != null) {  long start = System.currentTimeMillis(); BoxRendering.paint(c, bh.box, false, false); long after = System.currentTimeMillis(); if (Configuration.isTrue("xr.incremental.repaint.print-timing", false)) { Uu.p("repaint took ms: " + (after - start)); }
long start = System.currentTimeMillis(); if (!c.isPrint()) { BoxRendering.paint(c, root, false, false);
    protected void executeRenderThread(Context c) {        //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());        }		        // start painting the box tree        if (bh != null && bh.box != null) {            //Uu.p("not null. doing real painting");            long start = System.currentTimeMillis();            BoxRendering.paint(c, bh.box, false, false);//no restyle demanded on top level            long after = System.currentTimeMillis();            if (Configuration.isTrue("xr.incremental.repaint.print-timing", false)) {                Uu.p("repaint took ms: " + (after - start));            }        } else {            //Uu.p("still null. failing :(");        }        if (!c.isStylesAllPopped()) {            XRLog.render(Level.SEVERE, "mismatch in style popping and pushing");        }        last_event = null;    }