JPanel (@NotNull JBList<Sdk> sdkList, @NotNull AnActionButtonRunnable addAction, @NotNull AnActionButtonRunnable editAction, @NotNull AnActionButtonRunnable removeAction, AnActionButton @NotNull ... extraActions) { return ToolbarDecorator.createDecorator(sdkList) .disableUpDownActions() .setAddAction(addAction) .setEditAction(editAction) .setRemoveAction(removeAction) .addExtraActions(extraActions) .setPreferredSize(new Dimension(600, 500)) .createPanel(); }