Creating a Code Generator

See Also

A code generator is an item added to the popup that appears in an editor when Alt-Insert is pressed. By default, for example, when you press Alt-Insert in a Java class, a constructor can be generated.

To create a new code generator:

  1. Right-click a module project and choose New > Other. In the New File wizard, choose Code Generator under the Module Development category.
  2. In the Code Generator page, set the following:
  3. Click Finish.
See Also
About NetBeans Platform and Module Development
About the NetBeans Platform

Legal Notices