void setStateID(byte id) {
		switch (id) {
		case UserAction.XADD_ID:
			xAddAtomMenuItem.setSelected(true);
			break;
		case UserAction.YADD_ID:
			yAddAtomMenuItem.setSelected(true);
			break;
		case UserAction.ZADD_ID:
			zAddAtomMenuItem.setSelected(true);
			break;
		case UserAction.XMOL_ID:
			xAddMoleMenuItem.setSelected(true);
			break;
		case UserAction.YMOL_ID:
			yAddMoleMenuItem.setSelected(true);
			break;
		case UserAction.ZMOL_ID:
			zAddMoleMenuItem.setSelected(true);
			break;
		case UserAction.XFIL_ID:
			xAddFileMenuItem.setSelected(true);
			break;
		case UserAction.YFIL_ID:
			yAddFileMenuItem.setSelected(true);
			break;
		case UserAction.ZFIL_ID:
			zAddFileMenuItem.setSelected(true);
			break;
		}
	}