// Add the Module tree root, using a wrapper for the content repo to
// present the modules properly
try {
ContentCollection moduleCollection =
new ModuleRootContentCollection(repo);
jtree.addTreeRoot(BUNDLE.getString("Modules"), moduleCollection);
factoryMap.put(moduleCollection, new ModuleNodeURIFactory());
} catch (ContentRepositoryException excp) {
logger.log(Level.WARNING, "Unable to create module root", excp);
}