The moose likes Java in General and the fly likes JTable Export Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JTable Export" Watch "JTable Export" New topic

JTable Export

Binh Lam

Joined: Jul 18, 2002
Posts: 4
Is there code example on how to export data from JTable to a text file?
Thanks in advance for your help.
Rene Liebmann
Ranch Hand

Joined: May 02, 2002
Posts: 196
I don't know such an example, but if you have your own table model, then you can do whatever you want, because you have access to all the data.
It is sorta covered in the JavaRanch Style Guide.
subject: JTable Export
Similar Threads
Making a column invisible in a JTable
WA #1.....word association
Get data filter in JTable
JTable Editable column issue.
How i can Export from JTable To Excel