code: public void showParamPanel(AbstractParamPanel panel, String name) {
          if (currentShownPanel == panel) {
              return;
          }
  
          // ZAP: Notify previously shown panel that it was hidden
          if (currentShownPanel != null) {
              currentShownPanel.onHide();
          }
          
          nameLastSelectedPanel = name;
          currentShownPanel = panel; 
  
          TreePath nodePath = new TreePath(getTreeNodeFromPanelName(name).getPath());
          getTreeParam().setSelectionPath(nodePath);
          ensureNodeVisible(nodePath);
  
          getPanelHeadline();
          getTxtHeadline().setText(name);
          getHelpButton().setVisible(panel.getHelpIndex() != null);
          getShowHelpAction().setHelpIndex(panel.getHelpIndex());
  
          CardLayout card = (CardLayout) getPanelParam().getLayout();
          card.show(getPanelParam(), name);
          // ZAP: Notify the new panel that it is now shown
          panel.onShow();
      }
docs: Shows the panel with the given name.
  <p>
  The previously shown panel (if any) is notified that it will be hidden.
  
  @param panel the panel that will be notified that is now shown, must not be {@code null}.
  @param name the name of the panel that will be shown, must not be {@code null}.
  @see AbstractParamPanel#onHide()
  @see AbstractParamPanel#onShow()