saveCommentsToBug(currentSelectedBugLeaf);
saveComments(currentSelectedBugLeaf, currentSelectedBugAspects);
			public void valueChanged(TreeSelectionEvent selectionEvent) {								TreePath path = selectionEvent.getNewLeadSelectionPath();								if (path != null)				{					saveCommentsToBug(currentSelectedBugLeaf);					if ((path.getLastPathComponent() instanceof BugLeafNode))					{							boolean beforeProjectChanged = projectChanged;						updateDesignation();						setUserCommentInputEnable(true);						BugLeafNode bugLeaf = (BugLeafNode)path.getLastPathComponent();						BugInstance bug = bugLeaf.getBug();						currentSelectedBugLeaf = bugLeaf;						currentSelectedBugAspects = null;						updateSummaryTab(bugLeaf);						updateCommentsTab(bugLeaf);						displayer.displaySource(bug, bug.getPrimarySourceLineAnnotation());						setProjectChanged(beforeProjectChanged);					}					else					{						updateDesignation();						currentSelectedBugLeaf = null;						currentSelectedBugAspects = (BugAspects)path.getLastPathComponent();						clearIndividualBugInformation();						setUserCommentInputEnable(true);					}				}//				Debug.println("Tree selection count:" + tree.getSelectionCount());				if (tree.getSelectionCount() !=1)				{					Debug.println("Tree selection count not equal to 1, disabling comments tab" + selectionEvent);									MainFrame.this.setUserCommentInputEnable(false);				}			}						