AndFileFilter treeFileFilter = new AndFileFilter(
new AttributeFileFilter(FileAttribute.DIRECTORY),
new ConfigurableFolderFilter()
);
FileComparator sort = new FileComparator(FileComparator.NAME_CRITERION, true, true);
model = new FilesTreeModel(treeFileFilter, sort);
tree = new JTree(model);
tree.setFont(ThemeCache.tableFont);
tree.setBackground(ThemeCache.backgroundColors[ThemeCache.INACTIVE][ThemeCache.NORMAL]);