starting project notifications
[jSite2.git] / src / net / pterodactylus / jsite / main / Main.java
index 151c6b1..c83dd46 100644 (file)
@@ -20,6 +20,7 @@
 package net.pterodactylus.jsite.main;
 
 import java.io.File;
+import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
 
@@ -28,9 +29,9 @@ import javax.swing.UIManager.LookAndFeelInfo;
 
 import net.pterodactylus.jsite.core.CoreImpl;
 import net.pterodactylus.jsite.core.NodeManager;
-import net.pterodactylus.jsite.core.ProjectManager;
 import net.pterodactylus.jsite.core.RequestManager;
 import net.pterodactylus.jsite.gui.SwingInterface;
+import net.pterodactylus.jsite.project.ProjectManager;
 import net.pterodactylus.util.logging.Logging;
 
 /**
@@ -57,6 +58,7 @@ public class Main {
        private void start() {
                Logging.setup("jSite");
 
+               addLookAndFeel("NimROD", "com.nilo.plaf.nimrod.NimRODLookAndFeel");
                CoreImpl core = new CoreImpl();
 
                String configDirectory = System.getProperty("user.home") + File.separator + ".jSite";
@@ -105,7 +107,7 @@ public class Main {
         *            The look & feels to add
         */
        private void addLookAndFeels(LookAndFeelInfo... lookAndFeelInfos) {
-               List<LookAndFeelInfo> allLookAndFeelInfos = Arrays.asList(UIManager.getInstalledLookAndFeels());
+               List<LookAndFeelInfo> allLookAndFeelInfos = new ArrayList<LookAndFeelInfo>(Arrays.asList(UIManager.getInstalledLookAndFeels()));
                for (LookAndFeelInfo lookAndFeelInfo: lookAndFeelInfos) {
                        try {
                                Class.forName(lookAndFeelInfo.getClassName());