NetBeans provides a means to generate text via code templates. Code templates provide abbreviated strings that expand into fuller strings or blocks of code. The expansion occurs when the abbreviation is followed by a user-defined key or key sequence. The keys may be SHIFT, SHIFT-SPACE, TAB, or ENTER, as defined. To edit or view NetBeans’ code templates, choose Tools | Options, click Editor, and select the Code Templates tab.
Code template language categories have been provided for many languages. Those provided with the NetBeans 6.1 “Web & Java EE” bundle are shown in Table D-1. Remember that the current version of the exam targets NetBeans 6.1.