Creating a Java interface using the New Java Interface wizard
For our example, we create Java interfaces by doing the following steps:
| Select or mouse over on the package itso.rad75.bank.ifc and click the Add Java Interface icon. The New Java Interface wizard opens.
|
| In the New Java Interface dialog, enter the following data (Figure | 17):
|
Source folder: RAD75Java/src (default)
|
Package: itso.rad75.bank.ifc (click Browse to select the package)
|
Name: Bank
|
Keep the default for all other settings.
|
Click Finish to create the Java interface.
|
Figure 8-17 Create a Java interface
| Notice that a line appears between the package and the Bank interface.
|
ITSOBank example-Interfaces
Repeat the foregoing steps to create the following Java interfaces, which are described in Interfaces and classes overview.
|
|
| Interface: Bank-Package: itso.rad75.bank.ifc
|
|
|
| Interface: TransactionType-Package: itso.rad75.bank.ifc
|