} else
} else {
    private void datasetNodeNavigation(DatasetData d,                                         DefaultMutableTreeNode node,                                         boolean isExpanding)    {        DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel();        Integer datasetID = new Integer(d.getId());        node.removeAllChildren();        if (isExpanding) {            Set images = agentCtrl.getImages(d.getId());            //TODO: loading will never be displayed b/c we are in the            // same thread.            if (images.size() != 0) {                addNodesToDatasetMaps(datasetID, node, images);                addImagesToDataset(images, node);                 } else                 treeModel.insertNodeInto(new DefaultMutableTreeNode(EMPTY),                                          node, node.getChildCount());                               } else             treeModel.insertNodeInto(new DefaultMutableTreeNode(LOADING),                                     node, node.getChildCount());                treeModel.reload(node);    }