Package unbbayes.gui

Examples of unbbayes.gui.FileIcon


            // choose the file/folder to do batch query
            JFileChooser chooser = new JFileChooser();
            chooser.setMultiSelectionEnabled(false);
            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);
View Full Code Here

TOP

Related Classes of unbbayes.gui.FileIcon

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.