public static JMenuItem addMenuItem ( ActionListener l , JMenu menu , String name ) { return addMenuItem ( l , menu , name , null , null ) ; }
Adds a new menu item to the menu with the specified name .