How to create a java project from existing source

How to create a java project from existing source

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