By Alvin Alexander. Last updated: June 4, 2016
Templates are code snippets that can be easily included in your Java code. The basic idea is that you type in a shortcut code, hit [Ctrl][J], and JBuilder fills in the remainder of the code. You type in a few characters, and JBuilder does the hard work for you.
What templates are available to me?
Hit [Ctrl][J] in one of your source files to see a list.
Cool. Can I edit these templates, or create my own?
Yes. Go to Tools|Editor Options...|Templates, and the secret will be revealed.
I see. What does the |
symbol mean? It seems to have some special purpose.
It specifies the position your cursor will be placed at after the template has been populated into your source file. Another great shortcut.