package net.pterodactylus.jsite.main;
import java.io.File;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
* Main class that is called by the VM.
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
*/
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());