package net.pterodactylus.jsite.main;
import java.io.File;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
* 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());