X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fmain%2FMain.java;h=2552260d7115c2e795a1e350687d18044b70dc95;hb=dcab7505473d0a4f779b4199eba4e201c4923df6;hp=151c6b18f11f8ac3cf231fad643d88126f5b7ed5;hpb=57c2535880c2404a535308ffe0c176076be1c6dd;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index 151c6b1..2552260 100644 --- a/src/net/pterodactylus/jsite/main/Main.java +++ b/src/net/pterodactylus/jsite/main/Main.java @@ -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,16 +29,15 @@ 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; /** * Main class that is called by the VM. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Main { @@ -105,7 +105,7 @@ public class Main { * The look & feels to add */ private void addLookAndFeels(LookAndFeelInfo... lookAndFeelInfos) { - List allLookAndFeelInfos = Arrays.asList(UIManager.getInstalledLookAndFeels()); + List allLookAndFeelInfos = new ArrayList(Arrays.asList(UIManager.getInstalledLookAndFeels())); for (LookAndFeelInfo lookAndFeelInfo: lookAndFeelInfos) { try { Class.forName(lookAndFeelInfo.getClassName());