public void setBondSelected(int i, boolean b) {
		if (modelManager.frame.bondCount <= 0)
			return;
		Bond[] bond = modelManager.frame.bonds;
		if (bond == null)
			return;
		if (i < 0 || i >= bond.length)
			return;
		bond[i].selected = b;
	}