File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: JTable Export
It's not a secret anymore!