Hi again.
I just tried to create a jar file in netbeans, and it didn’t work right. I extracted the jar and realized it only had the class files from that project and not the class files from the projects I imported.
I have a library called javaLibrary1 (which was the default name), and in it I have two packages, njc.usefulstuff, and njc.game. The game package is like my game engine. It has my input class and and Stage and Scene classes (names stolen from pulpcore!)
So when I make an applet, I have to make another project and import these libraries. It seems that project and library are the same thing in netbeans. But as I said when I used the clean and build main project option, it built a jar file without these classes so it didn’t work.
I have googled the problem, and most of the people who were taking about it new a lot more about paths and jar files then I do so I couldn’t really follow it. But what am I supposd to do? It seems stange to me that Netbeans wouldn’t just add all the class files that you were using.
Am I wrong to have these in different projects/libraries? Should I just have everything in the same library? How do you manage your resusable code and get it into jar files? Whether it be netbeans or eclipse?