O'Reilly logo

Java EE 6 Development with NetBeans 7 by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

NetBeans tips for effective development

Although NetBeans offers a wide array of features that make Java EE development easier and faster, it also has a lot of features that ease Java development in general. In the following few sections we cover some of the most useful features.

Code completion

The NetBeans code editor includes very good code completion, for example, if we wish to create a private variable, we don't need to type the whole "private" word. We can simply write the first three letters ("pri"), then hit Ctrl+space, and NetBeans will complete the word "private" for us.

Code completion also works for variable types and method return values, for example, if we want to declare a variable of type java.util.List , we simply need to type ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required