for (int i = 0; i < dirs.length -1; i++)
if (dirs[i] != null && dirs[i].length() > 0)
{
curPath += "/" + dirs[i];
logger.fine("Opening " + curPath);
editor.openDir(curPath, -1);
}
logger.fine("Now calling editor.addDir(" + dirPath + ", ...)");
editor.addDir(dirPath, null, -1);
for (int i = 0; i < dirs.length; i++)