Implement Interface wizard

This is a feature of JBuilder Professional and Enterprise.

The Implement Interface wizard creates an interface framework that consists of interface methods. Interface methods are a group of method declarations which provide basic functionality to classes that share common behavior or needs.

The method signature framework is inserted at the end of the .java source for the class. You need to write the code that implements each method of the framework.

To display the Implement Interface wizard,

  1. Select the .java file in which you want to implement the interface in the project pane of the AppBrowser.
  2. Choose Wizards|Implement Interface.

Select Class

The class for which you want to implement the interface. This drop-down lists contains the name of the class selected in the project pane, as well as names of classes defined in that class. This field is not editable; you must choose from the list.

Available Interfaces

This is a tree displaying all the available interfaces. Click the icons in the left column to expand or collapse the list of inherited interfaces.

To choose an interface, click it, then press OK. You can implement only one interface at a time with the wizard

The wizard adds the interface you selected in an implements clause of the class definition. It also adds the interface methods to your class. The methods have empty bodies, so you must add the code that completes their implementations.