u.p("really painting");
    public synchronized void startRender(Graphics g) {        g.setColor(Color.black);        if(this.isLayoutDone()) {            if(panel.body_box != null) {                u.p("really painting");                try {                    panel.layout.paint( panel.c, panel.body_box );                } catch (Throwable thr) {                    u.p("current thread = " + Thread.currentThread());                    u.p(thr);                }            } else {                g.drawString("body box is null", 50,50);                u.p("body box is null");            }        } else {            g.drawString("still doing layout", 50,50);            u.p("still doing layout");        }    }