Make Changes to the Application

An Introduction to the Browser

The browser is a window provided by NTK to allow editing the slots in a template. Create a browser window for your layout by selecting the layout in the project window and double-clicking (or use New Browser from the Window menu). The browser window has three parts (see FIGURE 2.32).

The top left shows a list of templates and their hierarchical relationship. The top right shows the slots in the template that is selected on the left. And the bottom of the browser shows the slot editor for the currently selected slot. FIGURE 2.32 shows a browser window with a protoApp template selected on the left, its title slot selected on the right, and the contents of its title slot shown below.

Edit the title slot of the protoApp to be "My First App" (see FIGURE 2.33).

FIGURE 2.32 : The browser window.


FIGURE 2.33 : Editing the title slot of the protoApp.


Change the text slot of the protoCheckbox to "Likes pagers".

Build, download, and run your application again. It should look like FIGURE 2.34.

FIGURE 2.34 : Application after editing slots.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996