public void startLayout(Graphics g) {
public void startLayout(final Graphics g, Dimension d) {
    public void startLayout(Graphics g) {        if (shouldLayout()) {            //Uu.p("really starting new thread");            //Uu.p("threaded = " + threaded);            //done = false;            graphics = g;            if (threaded) {                new Thread(this).start();            } else {                run();            }        } else {            //Uu.p("layout already in progress. skipping layout");        }    }