How to move data from a CSV file to a JTable, and from a JTable to a CSV file ?  
Author Message
Tintin92





PostPosted: 2007-2-15 2:31:00 Top

java-programmer, How to move data from a CSV file to a JTable, and from a JTable to a CSV file ? Hello,

How to move data from a CSV file to a JTable, and from a JTable to a CSV
file ?

Thanks,

Tintin92



 
Andrew Thompson





PostPosted: 2007-2-15 2:51:00 Top

java-programmer >> How to move data from a CSV file to a JTable, and from a JTable to a CSV file ? On Feb 15, 5:30 am, "Tintin92" <email***@***.com> wrote:
...
> How to move data from a CSV

Parse the data into a...(1)

>..file

e.g. FileInputStream

>.. to a JTable,

(1) data structure such as an Objet[][]
TableModel or Vector and hand it to
the constructor.

>..and from a JTable to a CSV
> file ?

Do the above in reverse.

> Thanks,

No worries.

Andrew T.