docs: @Override
      public void addNotify() {
          super.addNotify();
  
          float size = Driver.getFontSize();
  
          JMenuBar menubar = getJMenuBar();
          if (menubar != null) {
              menubar.setFont(menubar.getFont().deriveFont(size));
              for (int i = 0; i < menubar.getMenuCount(); i++) {
                  for (int j = 0; j < menubar.getMenu(i).getMenuComponentCount(); j++) {
                      Component temp = menubar.getMenu(i).getMenuComponent(j);
                      temp.setFont(temp.getFont().deriveFont(size));
                  }
              }
              mainFrameTree.updateFonts(size);
          }
      }