Bail out early if prefSize is set for a column

This commit is contained in:
Prasanta Sadhukhan 2026-01-23 03:25:45 +00:00
parent 521aa02923
commit 622fc1fb32

View File

@ -3204,6 +3204,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
if (columnModel.getColumn(i).getPreferredWidth() != 75
&& columnModel.getColumn(i).getWidth() == 75) {
prefWidthSet = true;
break;
}
}
if (resizingColumn == null || prefWidthSet) {