Article View: borland.public.jbuilder.java.swing
Article #1210Textfileimportexport with JFileChooser
From: Gary Barker
Date: Fri, 13 Feb 2004 14:32
Date: Fri, 13 Feb 2004 14:32
10 lines
1377 bytes
1377 bytes
I have an application that expands on the textfileimportexport example that would use JFileChooser to export a modified text file to the path and file name specified by the user. I believe the code line: tableDataSet1.getDataFile().save(tableDataSet1); needs to be modified to do this. Are you supposed to instantiate another tableDataSet with the string result from the filechooser? Does someone have some code that does this? Regards, Gary
Technical Details
Message-ID:
<402cdf4f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f9a6d704c413fce2,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-02-13 06:35:25 PST Date: Fri, 13 Feb 2004 07:32:14 -0700 From: Gary Barker <barkerg@surfbest.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Textfileimportexport with JFileChooser Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.10.177.254 Message-ID: <402cdf4f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076682575 64.10.177.254 (13 Feb 2004 06:29:35 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail