private void movePart()
	{
		if (direction == ConveyorDirections.UP)
		{
			if (part.getCenterX() > getCenterX())
			{
				part.setCenterLocation(part.getCenterX() - 1, part.getCenterY());
			}
			else
			{
				part.setCenterLocation(part.getCenterX(), part.getCenterY() - 1);
			}
		}
		else if (direction == ConveyorDirections.DOWN)
		{
			if (part.getCenterX() < getCenterX())
			{
				part.setCenterLocation(part.getCenterX() + 1, part.getCenterY());
			}
			else
			{
				part.setCenterLocation(part.getCenterX(), part.getCenterY() + 1);
			}
		}
		else if (direction == ConveyorDirections.LEFT)
		{
			if (part.getCenterY() < getCenterY())
			{
				part.setCenterLocation(part.getCenterX(), part.getCenterY() + 1);
			}
			else
			{
				part.setCenterLocation(part.getCenterX() - 1, part.getCenterY());
			}
		}
		else if (direction == ConveyorDirections.RIGHT)
		{
			if (part.getCenterY() > getCenterY())
			{
				part.setCenterLocation(part.getCenterX(), part.getCenterY() - 1);
			}
			else
			{
				part.setCenterLocation(part.getCenterX() + 1, part.getCenterY());
			}
		}
		if (!part.getBounds().intersects(getBounds()))
		{
			nextComponent.addPart(part);
			part = null;
		}
	}