width = getBounds().width - x;
width = getBounds().width - x - borders;
void moveRight(CoolItem item, int pixels) {	Vector row = getRow(item);	int index = row.indexOf(item);	if (index == 0) return;		Rectangle bounds = item.getBounds();	int minSpaceOnRight = (row.size() - index) * CoolItem.MINIMUM_WIDTH;	int max = getBounds().width - minSpaceOnRight;	int x = Math.min(max, bounds.x + pixels);		int width = 0;	if (index + 1 == row.size()) {		width = getBounds().width - x;	} else {		CoolItem right = (CoolItem) row.elementAt(index + 1);		Rectangle rightBounds = right.getBounds();		if (x + CoolItem.MINIMUM_WIDTH >= rightBounds.x) {			int shift = x + CoolItem.MINIMUM_WIDTH - rightBounds.x;			moveRight(right, shift);			rightBounds = right.getBounds();		}		width = rightBounds.x - x;	}	item.setBounds(x, bounds.y, width, bounds.height);	CoolItem left = (CoolItem) row.elementAt(index - 1);	Rectangle leftBounds = left.getBounds();	int leftWidth = x - leftBounds.x;	left.setBounds(leftBounds.x, leftBounds.y, leftWidth, leftBounds.height);	}