## Uses of Class
javax.swing.JMenu

- Packages that use JMenu
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.

- - ### Uses of JMenu in javax.swing

    Methods in javax.swing that return JMenu
    Modifier and Type | Method and Description
    --- | ---
    `JMenu` | JMenuBar.`add(JMenu c)` Appends the specified menu to the end of the menu bar.
    `JMenu` | JMenuBar.`getHelpMenu()` Gets the help menu for the menu bar.
    `JMenu` | JMenuBar.`getMenu(int index)` Returns the menu at the specified position in the menu bar.

    Methods in javax.swing with parameters of type JMenu
    Modifier and Type | Method and Description
    --- | ---
    `JMenu` | JMenuBar.`add(JMenu c)` Appends the specified menu to the end of the menu bar.
    `void` | JMenuBar.`setHelpMenu(JMenu menu)` Sets the help menu that appears when the user selects the "help" option in the menu bar.

  - ### Uses of JMenu in javax.swing.plaf.basic

    Fields in javax.swing.plaf.basic declared as JMenu
    Modifier and Type | Field and Description
    --- | ---
    `JMenu` | BasicMenuUI.ChangeHandler.`menu`
    `protected JMenu` | BasicInternalFrameTitlePane.`windowMenu`

    Methods in javax.swing.plaf.basic that return JMenu
    Modifier and Type | Method and Description
    --- | ---
    `protected JMenu` | BasicInternalFrameTitlePane.`createSystemMenu()`

    Methods in javax.swing.plaf.basic with parameters of type JMenu
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BasicInternalFrameTitlePane.`addSystemMenuItems(JMenu systemMenu)`
    `protected void` | BasicMenuUI.`setupPostTimer(JMenu menu)`

    Constructors in javax.swing.plaf.basic with parameters of type JMenu
    Constructor and Description
    `BasicMenuUI.ChangeHandler(JMenu m, BasicMenuUI ui)`

  - ### Uses of JMenu in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal with parameters of type JMenu
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | MetalInternalFrameTitlePane.`addSystemMenuItems(JMenu systemMenu)` Override the parent's method to do nothing.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.