Package com.talixa.steganos.listeners

Examples of com.talixa.steganos.listeners.ExitActionListener


    });
    fileMenu.add(saveMenuItem)
   
    JMenuItem exitMenuItem = new JMenuItem(SteganosConstants.MENU_EXIT);
    exitMenuItem.setMnemonic(KeyEvent.VK_X);
    exitMenuItem.addActionListener(new ExitActionListener(frame));
    fileMenu.add(exitMenuItem);     
   
    // Setup help menu
    JMenu helpMenu = new JMenu(SteganosConstants.MENU_HELP);
    helpMenu.setMnemonic(KeyEvent.VK_H);
View Full Code Here


    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
 
    // create components
    JLabel text = new JLabel(ABOUT_CONTENTS)
    JButton ok = new JButton(SteganosConstants.LABEL_OK);
    ok.addActionListener(new ExitActionListener(frame));
       
    // Add to frame
    frame.add(text, BorderLayout.CENTER);
    frame.add(ok, BorderLayout.SOUTH);
       
View Full Code Here

TOP

Related Classes of com.talixa.steganos.listeners.ExitActionListener

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.