Package de.chris_soft.nanodoa.gui

Examples of de.chris_soft.nanodoa.gui.ZipFileFilter


      fileChooser.setCurrentDirectory(initialPath);
    }
    fileChooser.setDialogType(JFileChooser.SAVE_DIALOG);
    fileChooser.setDialogTitle("Save document(s) as ZIP file");
    fileChooser.setSelectedFile(new File("documents.zip"));
    FileFilter zipFileFilter = new ZipFileFilter();
    fileChooser.setFileFilter(zipFileFilter);
    if (fileChooser.showSaveDialog(parent) == JFileChooser.APPROVE_OPTION) {
      return fileChooser.getSelectedFile();
    }
    return null;
View Full Code Here

TOP

Related Classes of de.chris_soft.nanodoa.gui.ZipFileFilter

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.