void checkObjectiveCount(){
		setPrimitiveObjectives();
		if (prim_obj.size()<2)
			pnlCon.constPane.setEnabledAt(1, false);
		else
			pnlCon.constPane.setEnabledAt(1, true);
		double weights=0.0;
		for (Iterator it = prim_obj.iterator(); it.hasNext();){
			JObjective obj = (JObjective)it.next();
			if (!obj.getWeight().equals("*"))
				weights += Double.valueOf(obj.getWeight()).doubleValue();			
		}
		pnlCon.getAltPanel().checkAlternativeCount();
		if (weights <= 0.98 || weights >= 1.02){
			pnlCon.btnOK.setEnabled(false);		
		}
	}