code: protected void reallocateIndexes() {
          if (this.indexes == null || this.indexes.length != getFilteredModel().getSize()) {
              this.indexes = new int[getFilteredModel().getSize()];
          }
          applyConstraint();
      }
docs: Internally called to reallocate the indexes. This method should be called when the filtered model changes its
  element size