From 19d358fab55d7d1722e4d147a30eaf4db95f0b84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 22 May 2008 19:40:13 +0000 Subject: [PATCH] fix l&f adding git-svn-id: http://trooper/svn/projects/jSite/trunk@931 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/main/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.7.4