DNetBeans Code Templates

NetBeans IDE 6.1 Code Templates

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.

TABLE D-1 NetBeans 6.1 “Web & Java EE” Bundle ...

Get NetBeans IDE Programmer Certified Expert Exam Guide (Exam 310-045) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.