Package net.sf.pummel.view.action

Examples of net.sf.pummel.view.action.ExitListener


    int height = (int) (displayMode.getHeight() * 0.80);
    int width = (int) (displayMode.getWidth() * 0.80);

    main.setSize(width, height);

    main.addWindowListener(new ExitListener(controller));

    initMenuBar();

    main.setJMenuBar(menubar);

View Full Code Here


    menubar = new JMenuBar();

    JMenu fileMenu = new JMenu("File");

    JMenuItem exitItem = new JMenuItem("Exit");
    exitItem.addActionListener(new ExitListener(controller));

    fileMenu.add(exitItem);

    menubar.add(fileMenu);
View Full Code Here

TOP

Related Classes of net.sf.pummel.view.action.ExitListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.