Making your own applications : Implementing methods : Implementing methods--The basic steps

Implementing methods--The basic steps
To implement a method, you complete these basic steps:
1.
2.
3.
4.
If you are categorizing methods, select the category. If the category does not yet exist, create it by selecting Add from the Categories menu; then enter the new category name in the displayed prompter.
If you are not categorizing methods, go on to step 5. After you implement the method, the list of categories will display Not categorized. Of course, you can always go back later and categorize the methods.
Not categorized indicates that methods of the type you have specified (class or instance, public or private) exist, but are not assigned to a method category. To view those methods, select Not categorized.
5.
From the Methods menu, select New Method Template. A template is displayed in the description pane.
6.
7.
Example: Adding methods to the defined class Chooser and Example: Adding the method needsMoreWork to your class extension illustrate these basic steps.
Tips
Remember: to save a method, you save the source code that is in the bottom part of a browser. The three ways to save a method are as follows:
Select Save from the File menu.
With the text pane in focus (the text pane has a text cursor), press Ctrl+S.