ListPopup (@NotNull DataContext context, @NotNull JComponent component, @Nullable Runnable disposeCallback) { final var group = createPopupActionGroup(component, context); myPopup = new HighlightPopup( myPopupTitle, group, context, shouldShowDisabledActions(), disposeCallback, getMaxRows(), getPreselectCondition() ); myPopup.setMinimumSize(new Dimension(getMinWidth(), getMinHeight())); return myPopup; }