How Do I...

Step 1: Make AlarmClockApplication

Quick example: Alarm Clock No tip for this topic No example for this topic Step 2: Add parts to AlarmClockView

To make an application, you must create an application and a part (or part class). You can create these in either of the following windows:

Using the VisualAge Smalltalk Quick Start window

To make AlarmClockApplication in the VisualAge Smalltalk Quick Startwindow:

  1. Go to the VisualAge Smalltalk Quick Start window. VisualAge, when started, displays the VisualAge Smalltalk Quick Start window by default. If you closed the window, you can reopen it by selecting Quick Start from the Tools menu.
  2. In the VisualAge Smalltalk Quick Start window, keep the default radio button, Create a new part, selected.
  3. In the Application name drop-down list, type
    AlarmClockApplication
     
    
  4. In the Part class text field, type
    AlarmClockView
     
    

    VisualAge Smalltalk Quick Start
  5. Select OK.

    You may see a message saying "AlarmClockApplication is not currently visible. Do you want to switch to showing all applications?". Select No to continue.

VisualAge makes the application and part, and opens a Composition Editor with AlarmClockView on its title bar.

Using the VisualAge Organizer window

To make AlarmClockApplication in the VisualAge Organizer window:

  1. From the Applications menu, select New.
  2. In the displayed window, type in the Name field:
    AlarmClockApplication
    
  3. Select OK.

New Application window

To add a part to AlarmClockApplication:

  1. In the Applications pane, select AlarmClockApplication.
  2. From the basic Parts menu, select New. Or, from the full Parts menu, select New > Part.
  3. In the displayed window, type in the Part class text field:
    AlarmClockView
    
  4. Keep the default Part type , Inherits from, and Open nowselections.
  5. Select OK.

The visual part AlarmClockView opens in the Composition Editor so you can continue work on the application.


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