Home

 

Creating Java interfaces

After the Java packages have been created, Java interfaces can be added to the packages using the New Java Interface wizard. You can launch the New Java interface wizard from the Visualizer Class Diagram editor by choosing one of the following options:

Select in the Java Drawer and click anywhere in class diagram editor field. The New Java Interface wizard opens.

Right-click the desired package and select Add Java Æ Interface.

Or just mouse over a package and an action box opens (Figure | -16), then click the Add Java Interface icon.

Figure 8-16 Action box - add Java class and interface

ibm.com/redbooks