The NetBeans IDE has been developed in a fashion that allows third-party developers to write additional plugins (sometimes called modules), which can provide additional functionality for the NetBeans IDE. Once written, these plugins are usually published at the NetBeans Plugin Center, where they can be discovered by other NetBeans users.
In this recipe, we'll show how to write a NetBeans Code Generator plugin that will allow us to easily add the basics of a JUnit test into a Java class. The plugin will be invoked by pressing Alt + Insert for the code generation option within NetBeans.
No special steps are required before completing this recipe.
Any version of NetBeans (Java SE, Java EE, or the All bundle) can ...