Open main menu

CDOT Wiki β

User:Cgomes7/Basics

< User:Cgomes7
Revision as of 20:09, 1 February 2011 by Cgomes7 (talk | contribs) (Moving and copying Java elements)

DPS914 - Basic Lab

Basic Lab

Preparing Eclipse

Creating your first Java project

Browsing Java elements using the package explorer

- To browse java elements using package explorer, expand the java package to show all the java classes.

- Expand a java class, all the java elements are now visible.

Editing Java elements

Creating a Java class

Renaming Java elements

Moving and copying Java elements

</tr>

Move Element

Copy Element

- Right click on a java class -> Refactor -> Move

- Select destination package of the file.

- File is moved.

Navigate to a Java element's declaration

Viewing the type Hierarchy

Searching the workbench

Running your programs

Debugging your programs

Evaluating expressions

Evaluating snippets

Using the Java browsing perspective

Writing and running JUnit tests