Requirements for Running the Tutorial |
![]() Previous |
![]() Next |
Before you create a class model and generate Java code, there is some setup you need to do first:
As you create the class diagram and diagram elements, JDeveloper populates the Navigator window with the results of your actions. Although you can create a class diagram and generate Java code in an existing project and workspace, the results of the tutorial steps will be easier to see in the Navigator window if you create a new, empty project called OrderEntry.jpr in a new workspace called classmodeling.jws.
If you wish, you can set the default fonts and colors of class model elements before you begin. To do this, choose Tools | Preferences in the JDeveloper menu bar to open the Preferences dialog, then open the UML Diagram | Class Diagram tree control. You can then select the default font and color preferences for the diagram elements.
After setting up the connections and project, go on to Creating a Class Diagram.