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

Discussion in 'Java' started by Tintin92, Feb 14, 2007.

  1. Tintin92

    Tintin92 Guest

    Hello,

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

    Thanks,

    Tintin92
    Tintin92, Feb 14, 2007
    #1
    1. Advertising

  2. On Feb 15, 5:30 am, "Tintin92" <> 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.
    Andrew Thompson, Feb 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tivo Escobar
    Replies:
    1
    Views:
    7,271
    manusa
    Apr 12, 2007
  2. Replies:
    2
    Views:
    7,959
    M.J. Dance
    Aug 28, 2006
  3. Eduardo78
    Replies:
    0
    Views:
    241
    Eduardo78
    Nov 3, 2005
  4. Andrew Tomazos
    Replies:
    2
    Views:
    594
    Nobody
    Dec 12, 2011
  5. Haircuts Are Important
    Replies:
    3
    Views:
    300
    Haircuts Are Important
    Jun 4, 2013
Loading...

Share This Page