updateDisplay = new ActionList(_registry); updateDisplay.add(new Colorizer()); updateDisplay.add(new LegendColorizer(_ctl)); updateDisplay.add(new RepaintAction());
	public void initialize(Graph g) {		_g = g;		_registry = getRegistry();						if(g != null) {			_registry.setGraph(new PGraph(g));		}        _empty = false;        // antialias?        setHighQuality(_settings.getBoolean(RenderSettings.ANTIALIAS));        				// init colorizers        _colorizer = new Colorizer();        _legendColorizer = new LegendColorizer(_ctl);        _colorizer.setEnabled(true);        _legendColorizer.setEnabled(false);        // TODO, change this to generate the layouts on the fly?        initStandardLayouts();                // check if an active layout has already been set, if not set default        if (!_director.isActiveSet()) {            //System.out.println("Running Default RenderBox Layout");            _director.setActive(ACT_FORCEDIRECTED);        }        // Run Colorizers WITH ALL LAYOUTS        _director.setRunWithLayout(ACT_COLORIZER);        // Begin by randomly setting all the items        doSemiRandomLayout();                // TODO - taken out for Jonathons DEMO        /*        Rectangle rect = this.getBounds();		DisplayLib.fitViewToBounds(this, rect);		*/	}