mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Bail out early if prefSize is set for a column
This commit is contained in:
parent
521aa02923
commit
622fc1fb32
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user