strDirrectory=new String(System.getenv("HOMEPATH")+"\\My Documents");
else
strDirrectory=new String(System.getenv("HOME"));
}
JFileChooser jfcExport=new JFileChooser(strDirrectory);
jfcExport.addChoosableFileFilter(new FileFilterImpl("csv", "Text file"));
//jfcExport.addChoosableFileFilter(new FileFilterImpl("txt", "Text file"));
int intResult=jfcExport.showSaveDialog(mwcMain);
if(intResult!=JFileChooser.APPROVE_OPTION)
return;
IniHolder.WriteValue("ExportWorkDir", jfcExport.getSelectedFile().getAbsolutePath().substring(0, jfcExport.getSelectedFile().getAbsolutePath().lastIndexOf((int)File.separatorChar)));