public void setCpkPercent(int percent) {
		synchronized (lock) {
			viewer.setPercentVdwAtom(percent);
			if (model != null) {
				int n = model.getAtomCount();
				if (fullSizeUnbondedAtoms) {
					for (int i = 0; i < n; i++) {
						if (model.getAtom(i).isBonded()) {
							viewer.setCpkPercent(i, percent);
						}
						else {
							viewer.setCpkPercent(i, 100);
						}
					}
				}
				else {
					for (int i = 0; i < n; i++) {
						viewer.setCpkPercent(i, percent);
					}
				}
				for (int i = 0; i < n; i++) {
					Atom at = model.getAtom(i);
					if (at.isGenericParticle()) {
						int vdw = viewer.getPercentVdwAtom();
						viewer.setAtomSize(i, vdw == 100 ? 1000 * at.getSigma() : at.getSigma() * vdw * 10);
					}
				}
			}
		}
	}