The example describes how to use the TrailBlazer to implement methods. The methods implemented define the interface for the screen capture tool DevelopScreenCapture and place a "grabbed" BMP file in a designated directory.
The tool has one public instance method and 29 private instance methods. To more quickly add these methods to the system, you might copy and paste them from this section in the online IBM Smalltalk User's Guide. (See A shortcut: Copying code into a browser.)
For the purposes of this example, begin by implementing the method open:
| This example has you implement methods and then categorize them. Alternatively, you can add the categories before implementing the methods. |
open
"Public - Creates and realizes the receiver."
self
createShell;
createWindow;
realizeWindow.

The method name is now displayed in the list of methods and on the status bar in the middle of the browser.