public void resetTextBoxIndexesExcept(Set<Integer> excludedList){
  Set<Integer> unusedTextBoxIndexes=new HashSet<Integer>(points.getTextBoxIndexes());
  unusedTextBoxIndexes.removeAll(excludedList);
  for (  Integer index : unusedTextBoxIndexes) {
    points.removeTextBox(index);
  }
}

public void resetTextBoxIndexesExcept ( Set < Integer > excludedList ) { Set < Integer > unusedTextBoxIndexes = new HashSet < Integer > ( points . getTextBoxIndexes ( ) ) ; unusedTextBoxIndexes . removeAll ( excludedList ) ; for ( Integer index : unusedTextBoxIndexes ) { points . removeTextBox ( index ) ; } }
resets all textbox indexes except those which are contained in the excludedlist
