if (x > maxRowWidth)
if (x > maxRowWidth) {
	private void placeChain(ChainBox box) {					float height = 0;				double width = box.getWidth();		height = (float) box.getHeight(); 		//	setup the chain widget				// set the row height if this is taller than others in the row.		if (height+VGAP>rowHeight)			rowHeight = height;				if (count >= rowSize && (x+width > maxRowWidth)) {			// move on to next row.			count = 0;			if (x > maxRowWidth)				maxRowWidth = x;			x = 0;			row.setHeight(rowHeight);			rows.add(row);			y+= rowHeight;			rowHeight = height;			row = new RowInfo();		}				box.setOffset(x,y);		x+=box.getWidth();		count++;		row.addBox(box);	}