private void setNavBarPanelVisible() {
    if (myNavBarWrapper != null) {
      myNavBarPanel.setVisible(myNavBarWrapper.isVisible() && myNavBarWrapper.getParent() == myNavBarPanel);
    }
  }
private void setNavBarPanelVisible()