MyFileChooser pcFileChooser = new MyFileChooser(workingDir);
TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir);
   private void getPCFile() {      String workingDir = System.getProperty("user.dir");      MyFileChooser pcFileChooser = new MyFileChooser(workingDir);      // set the file filters for the file chooser      filter = getFilterByDescription();      pcFileChooser.addChoosableFileFilter(filter);      int ret = pcFileChooser.showSaveDialog(this);      // check to see if something was actually chosen      if (ret == JFileChooser.APPROVE_OPTION) {         File file = pcFileChooser.getSelectedFile();         filter = null;         if (pcFileChooser.getFileFilter() instanceof XTFRFileFilter )            filter = (XTFRFileFilter)pcFileChooser.getFileFilter();         else            filter = htmlFilter;         localFile.setText(filter.setExtension(file));      }   }