if( variableProps != null && count != variableProps.length ) { for(int i=0; i < variableProps.length; i++) { removeProperty(variableProps[i]); } }
  private void updatePropCount(Integer newCount) {    int count = newCount.intValue();    variableProps = new Property[count];    // Note: If you feel you want to change the name of these    // properties, see the "Hack Note" above.    for(int i=0; i < count; i++) {      variableProps[i] = addProperty("Value " + (i+1), "");      ((Property)variableProps[i]).setToolTip("Value for Argument " + (i+1));    }        }