ui/src/main/java/ucar/nc2/ui/widget/PopupMenu.java
public void addAction( String menuName, String iconName, Action act) {
    addAction( menuName, BAMutil.getIcon( iconName, true), act);
  }
public void addAction( String menuName, String iconName, Action act) {
    addAction( menuName, BAMutil.getIcon( iconName, true), act);
  }
Add an action to the popup menu, with an icon.
Note that the menuName is made the NAME value of the action.
@param menuName name of the action on the menu.
@param act the Action.