if (ChainBuilderAgent.DEBUG) { long end; end = System.currentTimeMillis()-start; System.err.println("time to layout chains is "+end); }
	public void buildGUI() {		Container content = getContentPane();		content.setLayout(new BorderLayout());				chainCanvas = new ChainPaletteCanvas(dataManager);		chainCanvas.setContents(dataManager.getChains());		chainCanvas.layoutContents();		chainCanvas.completeInitialization();					setSize(new Dimension(ModulePaletteWindow.SIDE,ModulePaletteWindow.SIDE));		content.add(chainCanvas);		addComponentListener(new ComponentAdapter() {			public void componentResized(ComponentEvent e) {				if (chainCanvas != null)					chainCanvas.scaleToResize();			}		});	}