void setPicking() throws ScriptException {
		if (statementLength == 2) {
			viewer.setStringProperty("picking", "ident");
			return;
		}
		checkLength34();
		switch (statement[2].tok) {
		case Token.select:
		case Token.monitor:
		case Token.spin:
			break;
		default:
			checkLength3();
		}
		String str = null;
		Token token = statement[statementLength - 1];
		int tok = token.tok;
		switch (tok) {
		case Token.on:
		case Token.normal:
			str = "ident";
			break;
		case Token.none:
			str = "off";
			break;
		case Token.select:
			str = "atom";
			break;
		case Token.bonds: // not implemented
			str = "bond";
			break;
		case Token.spin:
			int rate = 10;
			if (statementLength == 4) {
				rate = intParameter(3);
			}
			viewer.setIntProperty("pickingSpinRate", rate);
			return;
		}
		if (token.value instanceof String)
			str = (String) token.value;
		else invalidArgument();
		if (JmolConstants.GetPickingMode(str) < 0)
			invalidArgument();
		viewer.setStringProperty("picking", str);
	}