Netbeans team made one very good decision way back that IntelliJ
still comes nowehere near to competing with: Integration with the underlying build system (Ant/Mvn/Gradle). IJ frequently gets itself into some weird state where it becomes uncoupled (unhinged?) from the Maven POM and has to be manually synchronised. Netbeans essentially does not have any independent notion of dependencies or build system, so there's
never a sync question.
This also means that NB is infinitely better at handling/managing Maven sub-projects/modules, where IJ is pretty much always lost and blundering about in the wilderness.
All that said, I do believe that the Netbeans project has more-or-less lost the plot. They're spending so much time and energy trying to provide a language-server thing for VSCode that their own project is falling further and further behind the curve.