JMenuItem filterMenuItem = newJMenuItem("Filter bugs like this");
JMenuItem filterMenuItem = newJMenuItem("menu.filterBugsLikeThis", "Filter bugs like this");
	private JPopupMenu createBugPopupMenu() {		JPopupMenu popupMenu = new JPopupMenu();				JMenuItem suppressMenuItem = newJMenuItem("Suppress this bug");				suppressMenuItem.addActionListener(new ActionListener(){			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);			}					});				popupMenu.add(suppressMenuItem);				JMenuItem filterMenuItem = newJMenuItem("Filter bugs like this");				filterMenuItem.addActionListener(new ActionListener(){			public void actionPerformed(ActionEvent evt){				new NewFilterFromBug(currentSelectedBugLeaf.getBug());								setProjectChanged(true);			}		});				popupMenu.add(filterMenuItem);				JMenu changeDesignationMenu = newJMenu("Change bug designation");				int i = 0;		int keyEvents [] = {KeyEvent.VK_1, KeyEvent.VK_2, KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6, KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9};		for(String key :  I18N.instance().getUserDesignationKeys(true)) {			String name = I18N.instance().getUserDesignation(key);			comments.addDesignationItem(changeDesignationMenu, name, keyEvents[i++]);		}				popupMenu.add(changeDesignationMenu);				return popupMenu;	}