public TreeDrawCanvas( TreeDisplayable theTarget, Object auxDat, boolean doWin, int fontSize, Color c) { doWindow = doWin; if (doWindow) { ourFont = new Font("MonoSpaced", Font.PLAIN, fontSize); FM = getFontMetrics(ourFont); FontHeight = FM.getMaxAscent() + FM.getMaxDescent(); // setBackground(Color.yellow.brighter()); setBackground(c); } target = theTarget; auxData = auxDat; helpers = new Vector<TDHelper>(); createHelperStruct(target, helpers, 0, auxDat); for (int i = 0; i < helpers.size(); i++) { TDHelper h = helpers.elementAt(i); } if (doWindow) { layoutRects(); } }