@Override
  protected void installComponents() {
    super.installComponents();
    if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT && !Boolean.getBoolean("use.basic.tabs.scrolling")) {
      myHiddenArrowButtons = new ArrayList<>(2);
      Arrays.asList(tabPane.getComponents()).forEach(child -> {
        if (child instanceof BasicArrowButton) {
          myHiddenArrowButtons.add(child);
        }
      });
      tabPane.setLayout(new WrappingLayout((TabbedPaneLayout)tabPane.getLayout()));
      tabPane.add(myShowHiddenTabsButton = new ShowHiddenTabsButton());
    }

    if (tabPane.getClientProperty("TabbedPane.hoverColor") instanceof Color color) {
      myTabHoverColor = color;
    }
  }
@Override
  protected void installComponents()