Some ideas:
- Post to one of NetBeans mailing lists where you can get answer from developers (https://netbeans.org/community/lists/index.html)
- Add a
ModuleInstall
class to another module that will run a code as a part of startup procedure. Search lookup forModuleInfo
representing module that should be disabled and call ModuleManager.disable() (likely requires dependency on some internals / non-public API) - Keep the module as it is but add another one depending on it and override the top component there (make it non-vosible by default, hide action to show it, ...)