docs: public void setProjectChanged(boolean b) {
          if (curProject == null) {
              return;
          }
  
          if (projectChanged == b) {
              return;
          }
  
          projectChanged = b;
          mainFrameMenu.setSaveMenu(this);
  
          getRootPane().putClientProperty(WINDOW_MODIFIED, b);
  
      }