| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. 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 is expanded so you can see its 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> |
| <p> |
| <img border="0" src="../images/ngrelc.png" alt="Related concepts" > |
| </p> |
| <p> |
| <a href="../concepts/cjavaviews.htm">Java views</a><br> |
| </p> |
| <p> |
| <img src="../images/ngrelr.png" alt="Related reference"> |
| </p> |
| <p> |
| <a href="../reference/ref-view-package-explorer.htm">Package Explorer View</a><br> |
| </p> |
| |
| </body> |
| </html> |
| |