So, I'm running Eclipse Java Photon, and I have four classes, all with JFrame
s. Within the program, I need to run the JFrame
from another class, like if the user clicks a settings button, it opens a class with the dialogue for that. The program works perfectly, as-is, but when compiled to a JAR file it only opens the first class (the one with which it was built), and none of the others unless it is in the same directory as the other classes.
Is it possible for me to combine all of these classes into one JAR file, so I do not need the other classes lying around?