How to import classes into a current or new proj?

LegacyForumLegacyForum Posts: 1,669 ✭✭
edited December 2016 in Jtest
Importing a class to a current project.
1. Right click on a Project that you will like to import a class.
2. select Import
3. From the Import window select File System click on Next
4. Browse to the directory which contains the class that you
would like to import.
5. You will see the directory on the left frame and on the right
all the .class and .java files within that directory.
6. Select the .class and .java file that you will like to import.
and click on finish.

Creating a new project and importing a class
1. click on New > project
2. you will get a New Project window
select Java from the left frame and Java Project
from the right
3. click on Next
4. In the project name field add the name to your new project
click on finish button
5. Right click on the Project from the Jtest perspective and
select Import
6. From the Import window select File System click on Next
7. Browse to the directory which contains the class that you
would like to import.
8. You will see the directory on the left frame and on the
right all the .class and .java files within that directory.
9. Select the .class and .java file that you will like to import.
and click on finish.

In the Jtest perspective your new project that contains the
.java file you imported
Sign In or Register to comment.