Code Style page (Project Properties dialog box)
The Code Style page of the Project Properties dialog box allows you to customize your coding style on a project-by-project basis.
To set coding style options for all new projects, use the Default Project Properties dialog box (Project|Default Project Properties).
Braces
Determines how braces are inserted.
- End Of Line
Appends the opening brace to the end of the existing line.
- Next Line
Inserts the opening brace at the beginning of the following line.
- Example
Displays an example of the selected option.
Event Handling
Determines how event handlers are created.
- Anonymous Adapter
Creates event handlers using anonymous inner classes.
- Standard Adapter
Creates event handlers using separate adapter classes.
- Match Existing Code
Creates event handlers using the existing method.
- Example
Displays an example of the selected option.
Visibility of instance variables
Sets the default visibility level for instance variables. Choose from the drop-down list.
Use Beans.instantiate()
You can instantiate objects by using Beans.instantiate() as well as new.