try {
URL[] urls = new URL[list.size()];
list.toArray(urls);
URLClassLoader loader = new URLClassLoader(urls, getClass().getClassLoader());
Class lafClass = loader.loadClass(lafClassname);
return new DelegateLookAndFeel((LookAndFeel) lafClass.newInstance());
} catch (Exception e) {
LnfPlugin.getLogger().error(e);
return null;
}
}