Package org.oorexx.doc.gui.util

Examples of org.oorexx.doc.gui.util.FileTypeFilter


    public ActionHandler() {
      saveFC.removeChoosableFileFilter(inputFC.getAcceptAllFileFilter());
      loadFC.removeChoosableFileFilter(inputFC.getAcceptAllFileFilter());
     
      saveFC.addChoosableFileFilter(new FileTypeFilter("xml", ""));
      loadFC.addChoosableFileFilter(new FileTypeFilter("xml", ""));
     
      inputFC.removeChoosableFileFilter(inputFC.getAcceptAllFileFilter());
      inputFC.addChoosableFileFilter(new FileTypeFilter(ParserBeanFactory
          .getOORexxPropertyBean().getFileExtensions(), ""));
      inputFC.setMultiSelectionEnabled(true);
      inputFC.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
    }
View Full Code Here

TOP

Related Classes of org.oorexx.doc.gui.util.FileTypeFilter

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.