I noticed that a minecraft server loads in external jar
files. I would like to use this to create a hub to load small games into. I want to do this by calling a method in a group of jar
files to load them. Is this possible without executing it directly or modifying the classpath. I'm using the following code to start and load the hub:
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
Window window = new Window();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
Now I will run a loop for the number of jar files in a folder. I will store these in an array. Then I want the action for the button to call a load method from the jar
files