Package net.sourceforge.jivalo.cnfmgr.util.swing

Examples of net.sourceforge.jivalo.cnfmgr.util.swing.ExtensionFileFilter


         * @param e the import node event.
          */

        public void actionPerformed(ActionEvent e) {
            JFileChooser fc = new JFileChooser();
            fc.setFileFilter(new ExtensionFileFilter("xml"));

            int value = fc.showOpenDialog(treePanel.getConfigurator());
            if (value == JFileChooser.APPROVE_OPTION) {
                try {
                    File file = fc.getSelectedFile();
View Full Code Here


            if (path == null)
                return;

            Preferences prefs = (Preferences) path.getLastPathComponent();
            JFileChooser fc = new JFileChooser();
            fc.setFileFilter(new ExtensionFileFilter("xml"));

            int value = fc.showSaveDialog(treePanel.getConfigurator());
            if (value == JFileChooser.APPROVE_OPTION) {
                try {
                    File file = fc.getSelectedFile();
View Full Code Here

TOP

Related Classes of net.sourceforge.jivalo.cnfmgr.util.swing.ExtensionFileFilter

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.