Java Reference
In-Depth Information
8.
In the Package Explorer, expand NewProject and click on the src folder.
9.
Click File then Import and at the Import Window expand General and select Archive File.
10.
Click Next and in the From archive file text field specify F:\MyFirstProjectJAR.jar.
11.
Expand the tree diagram, unselect everything except myFirstPackage (see Figure A-28 ),
then click the Finish button
Figure A-28.
If you expand the src folder in the Package Explorer, myFirstPackage should appear and within myFirstPackage
should be the two .java files Employee and EmployeeApp.
That seemed like a lot work. Let's show how easy it is to import if the entire project is simply exported to the
file system.
12.
Delete NewProject and all of its content.
13.
Create a Java project called NewProject.
14.
In the Package Explorer, click on MyFirstProject, then File and Export.
15.
Expand the General item, select File System and click the Next button.
 
Search WWH ::




Custom Search