Package org.rioproject.tools.ui.prefs

Examples of org.rioproject.tools.ui.prefs.PreferencesDialog


        if(!MacUIHelper.isMacOS()) {
            fileMenu = new JMenu("File");
            JMenuItem preferencesMenuItem = fileMenu.add(new JMenuItem("Preferences"));
            preferencesMenuItem.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    PreferencesDialog prefs = new PreferencesDialog(frame, getGraphView(), cup);
                    prefs.setVisible(true);
                }
            });
            JMenuItem exitMenuItem = fileMenu.add(new JMenuItem("Exit"));
            exitMenuItem.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
View Full Code Here


                for (WindowListener wListener : wListeners) {
                    wListener.windowClosing(event);
                }
            }
             if (method.getName().equals("handlePreferences")) {
                 PreferencesDialog prefs = new PreferencesDialog(frame,
                                                                 graphView,
                                                                 cup);
                 prefs.setVisible(true);
             }

            return (null);
        }
View Full Code Here

TOP

Related Classes of org.rioproject.tools.ui.prefs.PreferencesDialog

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.