Home

 

Creating Java classes

With Java packages and Java interfaces created, we add the Java classes to the packages using the New Java class wizard. You can launch the New Java class 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. The New Java Class wizard opens.

Right-click the appropriate package and select Add Java Æ Class

Mouse over on the package. An action box appears (Figure | -16), and then click the Add Java Class icon.
ibm.com/redbooks