How to create a java project from existing source
- Create a new project from the menu File->New-> Java Project
- If you are going to add a new pakcage, then create the same package name here by
File->New-> Package - Click the name of the package in project navigator, and right click, and import…
Import->General->File system (choose your file or package)