public void stateChanged(ChangeEvent arg0)
	{
		if (arg0.getSource().equals(roundSpinner))
			config.setMaxRounds(((Integer) ((JSpinner) arg0.getSource()).getValue()).intValue());
		else if(arg0.getSource().equals(numLightsSpinner))
			config.setNumLights(((Integer) ((JSpinner) arg0.getSource()).getValue()).intValue());
		else if(arg0.getSource().equals(numCollectorsSpinner))
			config.setNumCollectors(((Integer) ((JSpinner) arg0.getSource()).getValue()).intValue());
		else if(arg0.getSource().equals(numRoundsSpinner))
			config.setMaxRounds(((Integer) ((JSpinner) arg0.getSource()).getValue()).intValue());
		else if(arg0.getSource().equals(numMosquitosSpinner))
			config.setNumMosquitos(((Integer) ((JSpinner) arg0.getSource()).getValue()).intValue());
		else
			throw new RuntimeException("Unknown State Changed Event!!");
	}