public void stateChanged(ChangeEvent ce){
  		JTabbedPane pane = (JTabbedPane)ce.getSource(); 
  		int sel = pane.getSelectedIndex();  	
  		switch (sel){
  			case 0:
  				//Nothing will really need to be done b/c objs drive the data
  			case 1:{
  				repaint(); break;
  			}
  			case 2:{
  				if(pnlAlternatives.checkFields()){
  					if (vf_flag)
  						pnlValueFunction.repaintDisplay();  					
  				}
  				else pane.setSelectedIndex(1);
  				break;
  			}
  			case 3:{
  				if (pnlValueFunction.checkAllUtility())
  					pnlWeighting.setObjectiveList();  
  				else{
  					vf_flag = false;
  	  				pane.setSelectedIndex(2);
  	  				vf_flag=true;
  				}
  				break;
  			}
  		}
		
		
  		}