Hey, what are these template things in JBuilder?

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.

Add new comment

The content of this field is kept private and will not be shown publicly.

Anonymous format

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul type> <ol start type> <li> <pre>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.