public void addAction ( String menuName , Action act ) { act . putValue ( Action . NAME , menuName ) ; super . add ( act ) ; }
Add an action to the popup menu . Note that the menuName is made the NAME value of the action .