Finding your To-Do List applet in the Workbench

Before you can add state checking to your To-Do List applet, you may need to find it. When you created it in the Visual Composition Editor, you may not have kept track of where VisualAge for Java was putting the code it generated to implement the applet. Don't worry. VisualAge for Java gives you powerful search capabilities for finding program elements. These capabilities are described in more detail in Searching. For now, here is quick way to find your To-Do List applet:

  1. In the Workbench window, select the Projects page.
  2. From the Selected menu, select Go To and then Type. The GoTo Type secondary window appears:

    tfinddlg.gif (5783 bytes)

  3. Enter the name of your To-Do List applet (for example, ToDoList) in the Pattern field. As you enter the name, the Type Names list changes to include only the types (that is, the classes and interfaces) that match what you have entered so far.
  4. Select the name of your To-Do List applet from the Type Names list. If packages are listed in Package Names, it means that more than one package has a class with the name you specified. Select the package in which you created the To-Do List applet and select OK.
  5. The list of projects is updated. The project and package that contain your applet are expanded, and the class for your applet is selected.

Now you have found the class for your applet, you are ready to version it.