Work on a more general implementation for class loadnig

This commit is contained in:
7u83
2017-11-19 02:11:33 +01:00
parent 9ef059c34f
commit dbbf13a63b
5 changed files with 299 additions and 129 deletions

View File

@ -42,7 +42,9 @@ import javax.swing.JFrame;
import javax.swing.UIManager;
import org.json.JSONArray;
import org.json.JSONObject;
import sesim.AutoTraderInterface;
import sesim.AutoTraderLoader;
import sesim.SeSimClassLoader;
/**
*
@ -143,6 +145,12 @@ public class Globals {
.getPath()).toString();
pathlist.add(default_path);
SeSimClassLoader cl = new SeSimClassLoader(pathlist);
cl.getInstalledClasses(AutoTraderInterface.class);
tloader = new AutoTraderLoader(pathlist);
}