NetBeans tips for effective development
NetBeans offers a wide array of features that make Java and Java EE development easier and faster. In the following few sections, we cover some of the most useful features.
Code completion
The NetBeans code editor includes a very good code completion feature, 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 the first few characters of the type, then hit Ctrl + Space NetBeans ...
Get Java EE 7 Development with NetBeans 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.