1. Open your NetBeans. I am using version 8.0.1.
2. Go to your Tools menu then click Options.
3. Options menu will appear. Check on the templates if the abbreviations you will use already exists in the list. If not, click New button.
4. New Code Template window will appear. Type your abbreviation on the text box. Click OK to continue.
5. The abbreviation added will be seen on the templates list. Click the row of your abbreviation. On the tabs below, type your corresponding code of your abbreviation on the Expanded Text tab (e.g System.out.println();). On the Expand Template on dropdown list, select the key to where your code spelling out will trigger. I chose Enter key. Click Apply button to save.
6. Voila! Try on your short code and press the key/s you designated to on when to expand.
I've read in one Quora forum that a sign that a programmer is abreast to the rest of his colleague when he/she has already mastered how to use the IDE he is working on.
I hope that this helps! Freely share your IDE tricks to make your programming life easier.



