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      ExportFileFilter filter;      if (((String)cvtType.getSelectedItem()).equals(LangTool.getString("spool.toPDF")))         filter = new ExportFileFilter("pdf","PDF Files");      else         filter = new ExportFileFilter("txt","Text Files");      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();         pcPathInfo.setText(filter.setExtension(file));      }   }