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 2. Java Development with NetBeans

In this chapter, we will cover the following recipes:

  • Creating a package
  • Creating a class
  • Creating an interface
  • Running a file
  • Debugging a class
  • Formatting the code
  • Collapsing and expanding code folds
  • Toggling comments
  • Fixing and organizing imports
  • Creating file headers
  • Changing the look and feel of NetBeans

Introduction

In this chapter, we will look at using the NetBeans IDE for Java development and see what options are available to assist in a Java developer's daily routine.

We will start by looking at how to create classes, packages, and interfaces. We will look at how to run individual files and projects and also how to debug them.

We will then look at code management and see how we can organize the code more effectively ...

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