public JMenuItem add (String s)

Creates a new menu item with the specified text and appends it to the end of this menu.

Parameters:
s    the string for the menu item to be added

Returns:  a new JMenuItem created using s