public int getComboIndexFromVarName(String varName) {
		log.info("varName = " + varName);
		PaneColor pane = (PaneColor) getParent();

		assert pane.varCombo != null;

		if (varName == null)
			return -1;

		for (int i = 0; i < pane.varCombo.getItemCount(); i++) {
			String strName = (String) pane.varCombo.getItemAt(i);
			if (strName.equals(varName))
				return i;
		}

		return -1;
	}