You can set it up in your project properties.

You could jar your first project and add it as a required library in your second.

Project->Project Properties->Rquired Libraries tab->Add button

There's also a wizzard for creating jars