| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html lang="en"> | |
| <head> | |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > | |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <title> | |
| Browsing Java elements using the package explorer | |
| </title> | |
| </head> | |
| <body> | |
| <h1> | |
| Browsing Java elements using the package explorer | |
| </h1> | |
| <p> | |
| In this section, you will browse Java elements within the JUnit project. | |
| </p> | |
| <ol> | |
| <li> | |
| In the Package Explorer view, make sure the JUnit project and the source folder are expanded so you can see the packages. | |
| </li> | |
| <li> | |
| Expand the package <code>junit.framework</code> to see the Java files contained in the package. | |
| </li> | |
| <li> | |
| Expand the Java file <code>TestCase.java. </code>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. | |
| <p> | |
| <img src="images/view_package_explorer_junit_exp.png" alt="Package Explorer"> | |
| </p> | |
| </li> | |
| </ol> | |
| <P class="nav_footer" id="nav_footer">Next Section: <A href="qs-OpenJavaEditor.htm">Opening a Java editor</A> | |
| </P> | |
| <h3 class="related">Related concepts</h3> | |
| <a href="../concepts/concept-java-views.htm">Java views</a> | |
| <h3 class="related">Related references</h3> | |
| <a href="../reference/views/ref-view-package-explorer.htm">Package Explorer View</a> | |
| </body> | |
| </html> | |