popupMenu.add(spawnRoot);
popupMenu.add(touchGraph);
TreePopupMouseAdaptor treePopupMouseAdaptor = new TreePopupMouseAdaptor(popupMenu, tree);
tree.addMouseListener(treePopupMouseAdaptor);
statView.addActionListener(new StatsViewAction(treePopupMouseAdaptor, view));
spawnRoot.addActionListener(new SpawnRootAction(treePopupMouseAdaptor, view));
touchGraph.addActionListener(new TouchGraphAction(treePopupMouseAdaptor));
}