Here’s how to:
1) Start your netbeans: I am using 5.5
2) Goto Tools>Template Manager
3) Select or Expand “Other”
4) Click “Add…” and select the file which you want to include.
5) After selecting the file will appear in your “Others” list
6) In your project navigator, add a new file of this type.
7) Give a name to this file and feel excited!