This section will guide you through constructing the user interface for the main window of the Investment application. You will construct this window in the Composition Editor, using some of the basic visual parts. When the Composition Editor opens for your new MainWindowView visual part, it automatically contains a Window part.
Sometimes the order in which you add parts is important. To give your application the desired look and feel, certain parts must be the parent part for other parts. For example, you must add a Group Box part before adding the parts you want inside the group box, because a group box must be the parent part for the parts it contains. When you add parts to a Window part, they automatically become child parts of the Window.
Once you've finished the user interface for the main window of your
Investment application it should look like this:
Add the parts in the following order:
As you add these parts, you need to change the labels of the parts by directly editing the labels. You also need to size and arrange the parts. For general information about developing a user interface using VisualAge, refer to Building the To-do List application.