Content (@NotNull AdditionalTabComponent tabComponent, @NotNull String id, @Nullable Icon icon, boolean closeable) { Content logContent = getUi().createContent(id, (ComponentWithActions)tabComponent, tabComponent.getTabTitle(), icon, tabComponent.getPreferredFocusableComponent()); logContent.setCloseable(closeable); myAdditionalContent.put(tabComponent, logContent); getUi().addContent(logContent); return logContent; }