previous.requestedWidth = width;
void removeItemFromRow(CoolItem item, Vector row) {	int index = row.indexOf(item);	row.removeElementAt(index);	if (row.size() == 0) {		rows.removeElement(row);		return;	}		if (index == 0) {		CoolItem first = (CoolItem) row.elementAt(0);		Rectangle bounds = first.getBounds();		int width = bounds.x + bounds.width;		first.setBounds(0, bounds.y, width, bounds.height);	} else {		CoolItem previous = (CoolItem) row.elementAt(index - 1);		Rectangle bounds = previous.getBounds();		int width = bounds.width + item.getSize().x;		previous.setBounds(bounds.x, bounds.y, width, bounds.height);	}}