Getting Started


Creating the Investment application visual parts

The Investment application requires four different visual parts: MainWindowView, SecurityFormView, BuySecurityView, and SellSecurityView. To start, you will create only the MainWindowView visual part. When you lay out the user interfaces for the reusable part and secondary windows later, you will refer back to this process of creating visual parts.

  1. Select InvestmentApp application from the VisualAge Organizer Applications pane.
  2. Then, select Parts>New>Part from the VisualAge Organizer pull-down menu or select New>Part from the Parts pane pop-up menu.

    The New Part window appears: 
    New Part window

  3. On the New Part window, do the following:
    1. In the Part class field, type MainWindowView.
    2. From the Part type drop-down list, select Visual part.
    3. Use the default value that appears in the Inherits from field.
      Note:For visual and nonvisual parts, you will most likely want to use the default class name provided. For Smalltalk classes however, you will want to select the Smalltalk class that contains the methods and data that you want to subclass. You can also type the name of an IBM Smalltalk class in this field. Refer to the VisualAge Smalltalk User's Guide and IBM Smalltalk User's Guide for more information about Smalltalk parts and the Smalltalk language.
    4. Ensure that Open now is selected and select OK.

      If you do not have Open now selected, the part is created, the VisualAge Organizer is updated, but the visual tools are not opened for the part. Because you want to open the Composition Editor for the MainWindowView part to begin laying out its user interface, you want Open now to be selected.


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