Getting Started


Creating a project and a package

When you start VisualAge Generator, the VisualAge for Java Workbench is displayed. The Workbench has numerous functions, but for this tutorial, you will only need to do two tasks here. You'll start building your sample application system in the Workbench, shown in Figure 34 .

Figure 34. VisualAge for Java Workbench

Figure vjwkbnch not displayed.

VisualAge Generator stores VAGen parts in packages. Packages are stored in projects. Before you build a VAGen part, you must add a project and a package to your workspace to contain the parts you build. You can add an existing project and package from the repository or create a new one.

Note:For a description of the 14 types of VisualAge Generator parts you can create, see "Part types". For more information about working with projects and packages, see the online help for VisualAge for Java.

For this tutorial, we'll create a new project called VGTutorial and a package called Tutorial. Do the following:

  1. From the Workbench Selected menu, select Add> Project.

    The Add Project window is displayed.

    Figure 35. Add Project Window

    Figure vjaddprj not displayed.

  2. In the Create a new project named field, type VGTutorial.
  3. Select Finish.

    The project called VGTutorial is displayed on the Projects tab.

  4. On the Projects tab, select VGTutorial.
  5. From the Selected menu, select Add> Package.

    The Add Package window is displayed.

    Figure 36. Add Package Window

    Figure vjaddpkg not displayed.

  6. In the Create a new package named field, type Tutorial.
  7. Select Finish.
  8. The following message is displayed:



    Figure vjwarnlc not displayed.

    Select Lowercase and proceed.

    The package called tutorial is displayed under the VGTutorial project on the Projects tab.

    Figure 37. VisualAge for Java Workbench with new project and package

    Figure vjwkbn2 not displayed.

Tip:To show additional information about the parts displayed on the Workbench tabs, select the Show Edition Names icon,
Show Edition Names


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]