public void actionPerformed(ActionEvent evt){ saveComments(currentSelectedBugLeaf, currentSelectedBugAspects);   TreePath path=tree.getSelectionPath(); FilterMatcher.notifyListeners(FilterListener.SUPPRESSING, path); ProjectSettings.getInstance().getSuppressionMatcher().add(currentSelectedBugLeaf.getBug()); PreferencesFrame.getInstance().suppressionsChanged(currentSelectedBugLeaf); ((BugTreeModel)(tree.getModel())).resetData(); clearSourcePane(); updateStatusBar();  setProjectChanged(true);
public void actionPerformed(ActionEvent evt){ callOnClose();
			public void actionPerformed(ActionEvent evt){								saveComments(currentSelectedBugLeaf, currentSelectedBugAspects);				//This MUST be done in this order:				//getIndexOfChild relies on the fact that things have not yet been removed from the tree!				TreePath path=tree.getSelectionPath();				FilterMatcher.notifyListeners(FilterListener.SUPPRESSING, path);				ProjectSettings.getInstance().getSuppressionMatcher().add(currentSelectedBugLeaf.getBug());										PreferencesFrame.getInstance().suppressionsChanged(currentSelectedBugLeaf);				((BugTreeModel)(tree.getModel())).resetData();//Necessary to keep suppressions from getting out of sync with tree.  				clearSourcePane();				updateStatusBar();								setProjectChanged(true);			}