public int getIndexFromVarName(String varName) {
		log.info("varName = " + varName);
		if (varName == null)
			return -1;

		for (int i = 0; i < PaneData.var_names.size(); i++) {
			String strName = (String) PaneData.var_names.get(i);
			if (strName.equals(varName))
				return i;
		}
		return -1;
	}