Browsing Java elements using the package explorer

In this section, you will browse Java elements within the JUnit project.

  1. In the Package Explorer view, make sure the JUnit project is expanded so you can see its packages.
  2. Expand the package junit.framework to see the Java files contained in the package.
  3. Expand the Java file TestCase.java. Note that the Package Explorer shows Java-specific sub-elements of the source code file.  The public type and its members (fields and methods) appear in the tree.

    Package explorer

Related concepts

Java views

Related tasks

Using the Package Explorer

Related reference

Package Explorer View