Package de.FBEditor.struct

Examples of de.FBEditor.struct.ExampleFileFilter


  }

  void loadFile() {
    JTextPane2 pane2 = this.getJTextPane();
    JFileChooser chooser = new JFileChooser(".");
    ExampleFileFilter filter = new ExampleFileFilter("export");
    filter.setDescription(FBEdit.getMessage("export.file"));
    chooser.setFileFilter(filter);
    int returnVal = chooser.showOpenDialog(this);
    if (returnVal == 0) {
      fileName = chooser.getSelectedFile().getName();
      jFile = chooser.getSelectedFile().getAbsolutePath();
View Full Code Here


  }

  void saveFile() {
    JTextPane2 pane2 = this.getJTextPane();
    JFileChooser chooser = new JFileChooser(".");
    ExampleFileFilter filter = new ExampleFileFilter("export");
    filter.setDescription(FBEdit.getMessage("export.file"));
    chooser.setFileFilter(filter);

    chooser.setSelectedFile(new File(fileName));
    int returnVal = chooser.showSaveDialog(this);
View Full Code Here

TOP

Related Classes of de.FBEditor.struct.ExampleFileFilter

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.