Over a million developers have joined DZone.

My Weekly NetBeans Tip (4): Pee You in NetBeans!

DZone's Guide to

My Weekly NetBeans Tip (4): Pee You in NetBeans!

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

Trying to learn all those code templates to get real benefit out of the Java parts of NetBeans IDE. Different ways to structure my learning. One way is simple: take all Java code templates that consist of TWO letters, such as "pu", which expands to "public" and learn all of them, just the two letter ones. These are they:

  • En
  • Ex
  • Ob
  • St
  • ab
  • bo
  • ca
  • cl
  • cn
  • df
  • eq
  • ex
  • fa
  • fi
  • fl
  • fy
  • ie
  • im
  • ir
  • le
  • pe
  • pr
  • pu
  • re
  • st
  • sw
  • sy
  • th
  • tw
  • wh

See? Not so many. :-) The ones I find most useful and will start using:

  • bo
  • St
  • cl
  • ir
  • pu
  • pr
  • re

Wanna know what they mean? Type them in a Java file in NetBeans and then press Tab. Can't do all the work for ya, ya know..

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}