Package org.xnap.commons.io

Examples of org.xnap.commons.io.FileExtensionFilter


      if (contactTableModel.getRowCount() == 0) {
        Dialogs.showInfo(AddressBook.this, i18n.tr("No data to export"), i18n.tr("JHylaFAX Addressbook Error"));
      }
     
      JFileChooser fileChooser = new JFileChooser();
      fileChooser.addChoosableFileFilter(new FileExtensionFilter(i18n.tr("vCards (*.vcf)"), ".vcf"));
      if (fileChooser.showSaveDialog(AddressBook.this) == JFileChooser.APPROVE_OPTION) {
        try {
          SimpleContact[] contacts = getSelectedContacts();
          if (contacts.length == 0) {
            contacts = getAlllContacts();
View Full Code Here

TOP

Related Classes of org.xnap.commons.io.FileExtensionFilter

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.