float maxRowWidth=0;
	public void layoutContents() {		// the current chain				LayoutChainData chain;		float maxRowWidth=0;				Collection chains = dataManager.getChains();		ArrayList sortedChains = new ArrayList(chains);		Collections.sort(sortedChains);		Iterator iter = sortedChains.iterator();				int num = chains.size();				// The display should be roughly square, 		// in terms of the number of rows vs. # of columns		rowSize = (int) Math.floor(Math.sqrt(num));				count=0;		// draw each of them.		while (iter.hasNext()) {			chain = (LayoutChainData) iter.next();			if (!chain.hasCycles()) {				ChainBox box = buildChain(chain);				if (box != null)  {					placeChain(box);				}			}		}		// fix up the last row.		row.setHeight(rowHeight);		rows.add(row);		adjustSizes();	}