However, if you modify NetBeans source code files, you must make them available to the NetBeans community and satisfy the other terms of the SPL. In general, for any file covered by the SPL which you modified for your product, you should:

Files which you wrote entirely yourself and added to the IDE you do not have to make available to the NetBeans community. Naturally if you made any general-purpose changes that could be useful for NetBeans, we would love to get them as suggested patches on This email address is being protected from spambots. You need JavaScript enabled to view it..

Source: NetBeans User FAQ

Parent Category: Other API Tips