menuItem.addChangeListener(itemChangeArmer);
}
// Add a popup menu listener that will strip off the item change armer as a listener
// when the popup menu disappears
popupMenu.addPopupMenuListener(new PopupMenuListener() {
public void popupMenuCanceled(PopupMenuEvent e){}
public void popupMenuWillBecomeVisible(PopupMenuEvent e){}
public void popupMenuWillBecomeInvisible(PopupMenuEvent e){
for (int i = 0; i < nMenuItems; i++) {