Rectangle cellRect = table.getCellRect(row, draggedColumn, false);
Rectangle gridRect = table.getCellRect(row, draggedColumn, true);
paintBackgroundUnderDraggedCell(g, gridRect);
cellRect.translate(table.getTableHeader().getDraggedDistance(), 0);
gridRect.translate(table.getTableHeader().getDraggedDistance(), 0);
if (clipBounds == null || clipBounds.intersects(gridRect)) {
paintCell(g, row, draggedColumn, cellRect, gridRect);
paintGrid(g, row, draggedColumn, gridRect);
}
}