+ new Main().start();
+ }
+
+ /**
+ * Starts the core and the default {@link SwingInterface}.
+ */
+ private void start() {
+ Core core = new Core();
+
+ String configDirectory = System.getProperty("user.home") + File.separator + ".jSite";
+
+ ProjectManager projectManager = new ProjectManager(configDirectory);
+ core.setProjectManager(projectManager);
+
+ SwingInterface swingInterface = new SwingInterface(core, configDirectory);
+ core.addCoreListener(swingInterface);
+ swingInterface.start();
+
+ core.start();