Java Swing Menu Item getExitMenuItem()

Here you can find the source of getExitMenuItem()

Description

get Exit Menu Item

License

Open Source License

Declaration

public static JMenuItem getExitMenuItem() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JMenuItem;

public class Main {
    public static JMenuItem exitMenuItem = new JMenuItem("Exit");

    public static JMenuItem getExitMenuItem() {
        return exitMenuItem;
    }//  w w  w.j ava  2  s .  c o m
}

Related

  1. createMenuItem(String text, Icon icon, String toolTip, ActionListener... listeners)
  2. createMenuItem(T source, int mnemonic, String description, E action)
  3. createRadioButtonMenuItem(final String text, final boolean selected)
  4. faqMenuItem()
  5. findMenuItem(Container container, String[] path)
  6. getMenuItem(Container container, Action action)
  7. getMenuItem(Container owner, String text)
  8. getMenuItemBorder()
  9. getMenuItemDisabledForegroundObject()