JComponent (@NotNull JComponent component, int row) { int height = component.getPreferredSize().height; if (height < myMinRowHeight) { height = myMinRowHeight; } setRowHeight(row, height); return component; }