The New Java Project with Existing Sources wizard enables you to create a
new
from an existing J2SE source folder. You open the wizard by
opening the New Project wizard and selecting the
Java Application with Existing Sources template from the General category.
In the Name and Location page, you have to set the following properties:
Project Name. Specifies the display name of the project.
Project Folder. Specifies the folder where you want to store the
project metadata and source code. You can place the project folder in the
source folder or keep it in a separate location.
Set as Main Project. Sets the newly created project as the main
project.
When you click Finish, the project is created on your computer and opened in
both the Projects window and the Files window.
Notes:
Each Java Project with Existing Sources can only contain one source packages
folder and its corresponding test packages folder. To work with multiple source
folders, you have to create a separate project for each source folder and
create build dependencies between
the projects.