Content (final @NotNull RunContentDescriptor contentDescriptor) { SimpleToolWindowPanel panel = new SimpleToolWindowPanel(false, true); Content content = ContentFactory.getInstance().createContent(panel, contentDescriptor.getDisplayName(), false); content.setCloseable(true); resetContent(contentDescriptor, panel, content); return content; }