O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

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

Chapter 3. NetBeans Productivity

In this chapter, we will cover the following recipes:

  • Creating a constructor
  • Creating a logger
  • Creating a toString() method
  • Creating a property
  • Overriding a method
  • Rename refactoring
  • Move refactoring
  • Copy refactoring
  • Delete refactoring
  • Change parameters refactoring
  • Pull up / push down refactoring
  • Extract interface refactoring
  • Encapsulate fields refactoring
  • Replacing a constructor with the Factory pattern

Introduction

In the first two chapters, we looked at how to create projects and how to create Java artifacts (classes, packages, and so on).

In this chapter, we'll move on and show how NetBeans can improve developer productivity by describing some different shortcuts for generating code. We'll generate constructors, loggers,

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