From: David ‘Bombe’ Roden Date: Thu, 22 May 2008 19:40:13 +0000 (+0000) Subject: fix l&f adding X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=19d358fab55d7d1722e4d147a30eaf4db95f0b84;p=jSite2.git fix l&f adding git-svn-id: http://trooper/svn/projects/jSite/trunk@931 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index 8f25230..329cbcf 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; @@ -105,7 +106,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());