I can't remember how Netbeans keeps track of which files are part of the project.

Something you could try is to directly copy the files into your project folder. This works for most Java IDE's....