add javadoc
[jSite2.git] / src / net / pterodactylus / jsite / main / Main.java
index 39024ec..bf6f5a6 100644 (file)
@@ -49,10 +49,12 @@ public class Main {
        private void start() {
                Core core = new Core();
 
-               ProjectManager projectManager = new ProjectManager(System.getProperty("user.home") + File.pathSeparator + ".jSite");
+               String configDirectory = System.getProperty("user.home") + File.separator + ".jSite";
+               
+               ProjectManager projectManager = new ProjectManager(configDirectory);
                core.setProjectManager(projectManager);
 
-               SwingInterface swingInterface = new SwingInterface(core);
+               SwingInterface swingInterface = new SwingInterface(core, configDirectory);
                core.addCoreListener(swingInterface);
                swingInterface.start();