public JMenu getMenu (int index)

Returns the menu at the specified position in the menu bar.

Parameters:
index    an integer giving the position in the menu bar, where 0 is the first position

Returns:  the JMenu at that position, or null if if there is no JMenu at that position (ie. if it is a JMenuItem)