code: public void setPanelsVisible(boolean visible) {
          for (Component component : fullTabList) {
              if (component instanceof AbstractPanel) {
                  AbstractPanel ap = (AbstractPanel) component;
                  boolean canChangeVisibility = true;
                  if (!visible) {
                      canChangeVisibility = canHidePanel(ap);
                  }
  
                  if (canChangeVisibility) {
                      setVisible(component, visible);
                  }
              }
          }
      }
docs: Sets whether or not the panels should be visible.
  <p>
  {@link AbstractPanel#isHideable() Non-hideable} and {@link AbstractPanel#isPinned() pinned} panels are not affected by
  this call, when set to not be visible.
  
  @param visible {@code true} if all panels should be visible, {@code false} otherwise.
  @since 2.5.0
  @see #getVisiblePanels()
  @see #hideAllTabs()