Exercise 1: Viewing the Class Hierarchy

In this exercise, you will learn how the classes in the Blink project are derived.
  1. Check the project manager for the name of the current project.
    If the current project is not Blink, double-click on the Blink project name.
  2. Choose Browse -> View Classes.
    Java WorkShop opens the class viewer, which lists the classes, methods, and comments that make up the Blink project. The project has one source file, Blink.java.
  3. Click on Blink.java.
    The class viewer loads the classes from which Blink is derived.
    Blink is derived from Applet, which is derived from Panel, and so on.

    The class viewer information is derived from javadoc, the Java API Documentation Generator. Javadoc parses the declaration and comments in the project's source code and formats the API into HTML code.

Next lesson:

Exercise 2: Viewing the Methods in Your Project