Changes

Jump to: navigation, search

User:Qinzhi

489 bytes added, 17:27, 2 February 2011
no edit summary
3. Browsing Java elements using the package explorer
In the left side of Eclipse, that is the package explorer.
Use mouse to expend MyFirstPrjcs.ecl.basics.simple, you can see src and JRE System Library.
4. Creating a Java class
In package explorer, right click on src folder, and select new->class, type student, and click enter key.
in Actually Library.java is a class, I'm going to use it as an example instead of student.java, type the code. sample code is at 45. Editing Java elements In Library.java, I use source generator created following code: @Override public String toString() { return "Library [resources=" + resources + "]"; }
6. Renaming Java elements
I changed Video.java to Audio.java by changing the interface name.
7. Moving and copying Java elements
I copied Audio.java and paste it in the project, and changed name to Video, then Video.java is created.
If I use mouse to move Video.java to Media.java, it's the same as copying.
8. Navigate to a Java element's declaration
9. Viewing the type Hierarchy
1
edit

Navigation menu