private void applyTo(ArrayRenderer renderer, boolean showBigRangeWarning) throws ConfigurationException {
    int newStartIndex = getInt(myStartIndex);
    int newEndIndex = getInt(myEndIndex);
    int newLimit = getInt(myEntriesLimit);

    if (newStartIndex < 0) {
      throw new ConfigurationException(JavaDebuggerBundle.message("error.array.renderer.configurable.start.index.less.than.zero"));
    }

    if (newEndIndex < newStartIndex) {
      throw new ConfigurationException(JavaDebuggerBundle.message("error.array.renderer.configurable.end.index.less.than.start"));
    }

    if (newLimit <= 0) {
      newLimit = 1;
    }

    if (showBigRangeWarning && (newEndIndex - newStartIndex > 10000)) {
      final int answer = Messages.showOkCancelDialog(
        myPanel.getRootPane(),
        JavaDebuggerBundle.message("warning.range.too.big", ApplicationNamesInfo.getInstance().getProductName()),
        JavaDebuggerBundle.message("title.range.too.big"),
        Messages.getWarningIcon());
      if (answer != Messages.OK) {
        return;
      }
    }

    renderer.START_INDEX = newStartIndex;
    renderer.END_INDEX = newEndIndex;
    renderer.ENTRIES_LIMIT = newLimit;
  }
private void applyTo(ArrayRenderer renderer, boolean showBigRangeWarning)