2.4.1Defining a Category
To start with, we define a new category that will contain the class that defines our component. Open a class browser using World | Class Browser. Raise the context menu for the category pane and select Add category.... The menu can be found by clicking onto the little square above the scrollbar in the list pane or by right-clicking onto the list pane itself. You will get prompted to give a name as shown in Figure 3. We will use the name WebCounter for our category.
Figure 4 shows that the category has been created. Now we are ready to define a component.
In Pharo and Squeak images you will often find the terms “Package” and “Category‘” used interchangeably. “Category” is a technical term based on the internal implementation, while “Package” better describes the intent of this pane. From now on, we will be using the term “Package”.

