void (@NotNull JBTabbedPane pane) { JEditorPane changeNotes = createDescriptionComponent(null); myChangeNotesPanel = new ChangeNotes() { @Override public void show(@Nullable String text) { if (text != null) { changeNotes.setText(XmlStringUtil.wrapInHtml(text)); if (changeNotes.getCaret() != null) { changeNotes.setCaretPosition(0); } } changeNotes.setVisible(text != null); } }; JBPanelWithEmptyText parent = new JBPanelWithEmptyText(new BorderLayout()); parent.setOpaque(true); parent.setBackground(PluginManagerConfigurable.MAIN_BG_COLOR); parent.setBorder(JBUI.Borders.emptyLeft(12)); parent.add(changeNotes); myChangeNotesEmptyState = parent; pane.add(IdeBundle.message("plugins.configurable.whats.new.tab.name"), createScrollPane(parent)); }