ok ....this one did the work
public void saveJTableToFile( JTable table ) {int returnVal = chooser.showSaveDialog(this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
try {
FileWriter fwriter = new FileWriter(chooser.getSelectedFile());
BufferedWriter bwriter = new BufferedWriter(fwriter);
for (int i=0;i<table.getRowCount();i++) {
for (int j=0;j<table.getColumnCount();j++) {
bwriter.write( String.valueOf( table.getValueAt(i,j) )+"" );
}
bwriter.newLine();
}
bwriter.close();
} catch (IOException ioe){
ioe.printStackTrace();
}
}
}