|
|
@@ -97,6 +97,7 @@ public class BetterAutoGrowPanel<C extends Component & BetterAutoGrowPanel.Child
|
|
|
*/
|
|
|
public BetterAutoGrowPanel(final @NonNull Supplier<T> makeEmptyModel,
|
|
|
final @NonNull Function<T, C> makeComponent) {
|
|
|
+ setLayout(layout);
|
|
|
this.grow = new GrowOnData(makeEmptyModel, makeComponent);
|
|
|
this.grow.insertUpdate(null);
|
|
|
}
|