propTaskVerb = addProperty(PROP_TASKVERB, ABCTask.PROP_TASKVERB_DFLT);
propTaskVerb = addProperty(PROP_TASKVERB, PROP_TASKVERB_DFLT);
  public void initProperties() {    propLevelCount = addProperty(PROP_LEVELCOUNT, PROP_LEVELCOUNT_DFLT,                                 new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	  if(((Integer)e.getProperty().getValue()).intValue() < 1) {	    propLevelCount.setValue(e.getPreviousValue());	    //JOptionPane.showMessageDialog(this, "Value must be > 0; reseting to previous value.");	  } else {	    changeSociety();	  }	}    });    propLevelCount.setToolTip(PROP_LEVELCOUNT_DESC);    propCommunityCount = addProperty(PROP_COMMUNITYCOUNT, PROP_COMMUNITYCOUNT_DFLT,                                     new ConfigurableComponentPropertyAdapter() {      	public void propertyValueChanged(PropertyEvent e) {	  if(((Integer)e.getProperty().getValue()).intValue() < 1) {	    propCommunityCount.setValue(e.getPreviousValue());	    //JOptionPane.showMessageDialog(this, "Value must be > 0; reseting to previous value.");	  } else if( ((Integer)e.getProperty().getValue()).intValue() < ((Integer)propLevelCount.getValue()).intValue()) {	    // Community count should be equal to or greater than level count.	    propCommunityCount.setValue(e.getPreviousValue());	  } else {	    changeSociety();	  }	}    });    propCommunityCount.setToolTip(PROP_COMMUNITYCOUNT_DESC);    propStartTime = addProperty(PROP_STARTTIME, ABCAgent.PROP_STARTTIME_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propStartTime.setToolTip(ABCAgent.PROP_STARTTIME_DESC);    propStopTime = addProperty(PROP_STOPTIME, ABCAgent.PROP_STOPTIME_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propStopTime.setToolTip(ABCAgent.PROP_STOPTIME_DESC);    propInitializer = addProperty(PROP_INITIALIZER, ABCAgent.PROP_INITIALIZER_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propInitializer.setToolTip(ABCAgent.PROP_INITIALIZER_DESC);    propSampleInterval = addProperty(PROP_SAMPLEINTERVAL, ABCAgent.PROP_SAMPLEINTERVAL_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propSampleInterval.setToolTip(ABCAgent.PROP_SAMPLEINTERVAL_DESC);    propMaxSamples = addProperty(PROP_MAXNUMBSAMPLES, ABCAgent.PROP_MAXNUMBSAMPLES_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propMaxSamples.setToolTip(ABCAgent.PROP_MAXNUMBSAMPLES_DESC);    propStartDelay = addProperty(PROP_STARTDELAY, ABCAgent.PROP_STARTDELAY_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propStartDelay.setToolTip(ABCAgent.PROP_STARTDELAY_DESC);    propNumbProviders = addProperty(PROP_NUMBPROVIDERS, ABCAgent.PROP_NUMBPROVIDERS_DFLT,                                new ConfigurableComponentPropertyAdapter() {	public void propertyValueChanged(PropertyEvent e) {	}    });    propNumbProviders.setToolTip(ABCAgent.PROP_NUMBPROVIDERS_DESC);    propTaskVerb = addProperty(PROP_TASKVERB, ABCTask.PROP_TASKVERB_DFLT);    propTaskVerb.setToolTip(ABCTask.PROP_TASKVERB_DESC);    buildDefaultCommunity();    addInitializer();  }