Returns the menu at the specified position in the menu bar.
index | an integer giving the position in the menu bar, where 0 is the first position |
JMenu
at that position, or null
if
if there is no JMenu
at that position (ie. if
it is a JMenuItem
)
Diagram: Menu