code: @Override
      public void removeRange(int fromIndex, int toIndex) {
          if (fromIndex > toIndex) {
              throw new IllegalArgumentException("fromIndex must be <= toIndex");
          }
          for (int i = toIndex; i >= fromIndex; i--) {
              removeElementAt(i);
          }
          fireIntervalRemoved(this, fromIndex, toIndex);
      }
docs: Note: implementation copied from base class (DefaultListModel) but changed to call the local method removeElementAt(int)