Constructor Nodes in the Explorer

For each of your source files, the Explorer displays all constructor objects as constructor nodes under the Constructors () category node. Property information about each method is presented in its Explorer icon and property sheet. Each node's contextual menu contains commands that you can execute on the constructor or on the entire class.

You can double-click any constructor node in the Explorer to jump to the constructor in the Source Editor. If your class does not already contain a constructor, you can add one by right-clicking the Constructors category node and choosing Add Constructor. A property editor opens in which you can specify basic information for the constructor, such as modifiers and parameters. You can also add an empty Initializer to your class by right-clicking the Constructors category node and choosing Add Initializer.

You can view a constructor's property sheet by right-clicking its node and choosing Properties. You can edit the constructor's properties in the property sheet itself, or by right-clicking the constructor node and choosing Customize. The node's contextual menu also contains commands for copying, cutting, pasting, and deleting the constructor.

The node's contextual menu also contains a Tools submenu. Any commands you choose from the this submenu are executed on the entire class.

Constructor and Initializer Node Icons

Icon Description
Category node for constructors.
Constructor with default access.
Private constructor.
Public constructor.
Non-static initializer.
Static initializer.
See also
Synchronizing Source Code
Node Objects in the Explorer and Object Browser
Using Quick Browse for Java Elements
Filesystems and the Java Classpath

Specifying the Default Compiler
Specifying the Default Executor
Specifying the Default Debugger

Configuring the Compilers in the IDE
Configuring the Default Debugger
Configuring the Executors That Run Your Programs

Legal Notices