code: private void removeColumn(int index)
      {
          TableColumn column = tableColumns.get(index);
          column.removePropertyChangeListener(widthListener);
          tableColumns.remove(index);
          JComponent component = customComponents.remove(index);
          remove(component);
          if (componentRemover != null)
          {
              componentRemover.accept(index);
          }
      }
docs: Remove the column and the custom component at the given index
  
  @param index The index