* @return the tree component.
* @throws ConfigTreeModelException if the model could not be built.
*/
private JComponent createEntryTree(final boolean includeGlobals)
{
treeModel = new ConfigTreeModel(packageManager, includeGlobals);
final TreeSelectionModel selectionModel = new DefaultTreeSelectionModel();
selectionModel.setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
tree = new JTree(treeModel);