package net.pterodactylus.jsite.main;
import java.io.File;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
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;
/**
private void start() {
Logging.setup("jSite");
+ addLookAndFeel("NimROD", "com.nilo.plaf.nimrod.NimRODLookAndFeel");
CoreImpl core = new CoreImpl();
String configDirectory = System.getProperty("user.home") + File.separator + ".jSite";
* 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());