void (@NotNull JPanel parent) { JBTabbedPane pane = new JBTabbedPane() { @Override public void setUI(TabbedPaneUI ui) { putClientProperty("TabbedPane.hoverColor", ListPluginComponent.HOVER_COLOR); boolean contentOpaque = UIManager.getBoolean("TabbedPane.contentOpaque"); UIManager.getDefaults().put("TabbedPane.contentOpaque", Boolean.FALSE); try { super.setUI(ui); } finally { UIManager.getDefaults().put("TabbedPane.contentOpaque", Boolean.valueOf(contentOpaque)); } setTabContainerBorder(this); } @Override public void setEnabledAt(int index, boolean enabled) { super.setEnabledAt(index, enabled); getTabComponentAt(index).setEnabled(enabled); } }; pane.setOpaque(false); pane.setBorder(JBUI.Borders.emptyTop(6)); pane.setBackground(PluginManagerConfigurable.MAIN_BG_COLOR); parent.add(pane); myTabbedPane = pane; createDescriptionTab(pane); createChangeNotesTab(pane); createReviewTab(pane); createAdditionalInfoTab(pane); setTabContainerBorder(pane); }