View Single Post
  #2 (permalink)  
Old 07-29-2008, 04:08 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 571
Rep Power: 2
fishtoprecords is on a distinguished road
Default
Create one as a library. It can have main() functions in some of the classes if you want. Have NetBeans make a jar file of the library.

Then make a new project. Use the "library" function of the project's Properties to point to the JAR file from the other project.

This will not automatically recreate the library/jar when you change it for the second, so you have to make changes in the library code, compiler it to "build" the jar, and then go to the second project.

With Netbeans, you don't have to close each project, just select it and "build"
Reply With Quote