In the Add Class dialog box, enter the information for the class:
Enter the name of the class in the Class Name box.
To make this class a nested (or inner) class of the class that is selected in the General tab of Class Builder, select the Create a nested class option. For information about nested classes, see Inner Classes in the Java Language Specification.
Select an access modifier from the Access drop-down list. Nested classes can be declared as public, protected, private, or default (package). Non-nested classes can be declared as public or default.
Select additional modifiers, such as abstract, final, or static. (Only nested classes can be declared as static.)
To insert Javadoc comments for the class, enter the comment text in the Javadoc comment box.
To display this class as the selected class in the General tab of Class Builder, select Display new class in Class Builder.
Click Add to add the class declaration to your file.