How can I import a NetBeans Java project into Eclipse?

I created a Java project in NetBeans 8.0.2 which I would like to export so that my brother can import it into Eclipse. I'm not sure which version of eclipse he's using, but he downloaded it within the last three or four months. Can I accomplish this by exporting the project from NetBeans and imported into Eclipse, or is it more complicated than that?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

For importing NetBeans into Eclipse, I did some quick research and found a possible answer.  I assume this is a web project as the steps below may only work for it.

Inside the NetBeans program folder there is a folder called "dist".  Open that and check to see if there is a .war file in there.  If so, then in Eclipse, go to File > Import > war.  Point to the location of the .war file within NetBeans folder.

This should create a package structure in the Eclipse workspace and will generate a config file.  Afterwards, go to the NetBeans folder again and there should be a subfolder called "src".  Copy the contents in that folder and paste them into the "src" folder inside the Eclipse program folder.

Then in the Eclipse program, right-click the project name and choose Refresh.

Hope this helps.
If its a maven project, I imagine it might be easier.
babyb00merAuthor Commented:
I found a solution online that worked quite well! The procedure is summarized as follows:

Create a Java project in eclipse with same name as the project to be imported (from NetBeans)
right-click project, Select Import > File System and import project & its resources thru file system wizard.
Test in eclipse by right-clicking on the project, or main class within the project (as the case may be), select Run as (from the pop-up menu), and then selecting Java Application to execute

The site is:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
babyb00merAuthor Commented:
Although bigeven2002's solution would probably work for a web application, I believe my question made it clear that I was asking about a Java application. Additionally, the solution I found is more automated and, I suspect, more generic – that is, would work regardless of the type of project.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.