JMenuItem is an implementation of an item in a menu. A menu item is essentially a button sitting in a list. When the user selects the button, the action associated with the menu item is performed.