Package unbbayes.gui

Examples of unbbayes.gui.SimpleFileFilter


            chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
            chooser.setDialogTitle("Choose directory or file");
            chooser.setFileView(new FileIcon(MapFrame.This()));
            // filter file
            String extension[] = {"tdb"};
            chooser.addChoosableFileFilter(new SimpleFileFilter(extension, "Directory or .tdb"));
            // display file chooser
            int option = chooser.showOpenDialog(null);
            if (option == JFileChooser.APPROVE_OPTION) {
              // file/folder was chosen. Run batch query
              WorkerFolderBatch worker = new WorkerFolderBatch(chooser.getSelectedFile(), getBatchAreaQueryLength());
View Full Code Here

TOP

Related Classes of unbbayes.gui.SimpleFileFilter

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.