Add Class Dialog Box

   

The Add Class dialog box allows you to define a new class for your project.

With the Add Class dialog box you can:

Options

Class Name

A text box that allows you to specify the name of the class you are creating.

Create a Nested Class

When selected, this option defines the class as a nested class. The class becomes a nested class of the currently selected class. A nested class is a class that is defined within another class.

Access

A list that defines the access modifier for the class. Non-nested classes can be declared either as public or default (package). Nested classes can be declared as default (package), public, protected, or private.

Abstract

When selected, applies the abstract modifier to the class. This option is disabled if the final modifier is already applied to the class.

Final

When selected, applies the final modifier to the class. This option is disabled if the abstract modifier is already applied to the class.

Static

When selected, applies the static modifier to the class. This option is only available for nested classes.

Javadoc Comment

A text box that allows you to create Javadoc comments for the class.

Display New Class In Class Builder

When selected, the class that you create is displayed in the Class Builder. Select this option if you want to use this class in Class Builder to add fields, methods, properties, or events.