Package org.jsmdr.capturegui.app

Examples of org.jsmdr.capturegui.app.SimpleFileChooserFilter


 
  private void handleLoadParser() {
    String fileName = "";
    try {
        JFileChooser chooser = new JFileChooser();
          SimpleFileChooserFilter filter = new SimpleFileChooserFilter();
          filter.addExtension("xml");
          filter.addExtension("class");
          filter.setDescription("(xml & class) CTI Parsers");
          chooser.setFileFilter(filter);
          int returnVal = chooser.showOpenDialog(baseFrame);
          if(returnVal == JFileChooser.APPROVE_OPTION) {
             fileName = chooser.getSelectedFile().getAbsolutePath();
             System.out.println("You chose to open this file: " + fileName);
View Full Code Here


 
  private void handleLoadFile() {
    String fileName = "";
    try {
        JFileChooser chooser = new JFileChooser();
          SimpleFileChooserFilter filter = new SimpleFileChooserFilter();
          filter.addExtension("cdr");
          filter.setDescription("(cdr) Total Recall Capture File");
          chooser.setFileFilter(filter);
          int returnVal = chooser.showOpenDialog(baseFrame);
          if(returnVal == JFileChooser.APPROVE_OPTION) {
             fileName = chooser.getSelectedFile().getAbsolutePath();
             System.out.println("You chose to open this file: " + fileName);
View Full Code Here

TOP

Related Classes of org.jsmdr.capturegui.app.SimpleFileChooserFilter

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.