Package fr.soleil.comete.widget.util.filechooser

Examples of fr.soleil.comete.widget.util.filechooser.MultiExtFileFilter


    if (fileChooser == null) {
      fileChooser = new JFileChooser();

      fileChooser.setDialogTitle(MESSAGES.getString("FileChooser.Title"));
      // fileChooser.setAcceptAllFileFilterUsed(true);
      fileChooser.addChoosableFileFilter(new MultiExtFileFilter("netCDF file", "cdf", "nc"));
      fileChooser.addChoosableFileFilter(new MultiExtFileFilter("NeXus file", "nxs"));
      fileChooser.addChoosableFileFilter(new MultiExtFileFilter("hdf5 file", "hdf"));
      fileChooser.addChoosableFileFilter(new MultiExtFileFilter("data file", "hdf", "nxs",
          "cdf", "nc"));
    }

    int returnVal = fileChooser.showOpenDialog(this);
View Full Code Here

TOP

Related Classes of fr.soleil.comete.widget.util.filechooser.MultiExtFileFilter

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.