Article View: cn.bbs.comp.lang.java
Article #19145Re: ��ôȡ���ļ���3x
From: javaphp
Date: Fri, 09 Jan 2004 09:35
Date: Fri, 09 Jan 2004 09:35
23 lines
1913 bytes
1913 bytes
�����Ǹ����·����
--
�ս����һ��վ�㣬������ͬ��Ȥ�����Ѽ��ˣ�
ÿ�ܶ����и��£������к���Ķ�����������أ�
��ӭ���٣�
http://www.javaphp.com/
--
���ѡ�����ڡ���ôȡ���ļ���3x��һ����д��:
> String name = "";
> if (result == JFileChooser.CANCEL_OPTION)
> {
> return;
> }
> if (result == JFileChooser.APPROVE_OPTION)
> {
> name = fileChooser.getSelectedFile().getPath();
> //�ǵ������������
> ftr = new FileToRoad(name);
> //�����name����һ���ļ����Ǵ���·���ģ�
Technical Details
Message-ID:
<hdtsvvgpsl58rkttuf5v6u3a9h8nhi67tt@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mailReferences:
<4AC10R$ASJ@freecity.cnzju.net>Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,72b9659770b5aad X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2004-01-09 01:33:39 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mail From: javaphp <javaphp@sohu.com> Newsgroups: cn.bbs.comp.lang.java Subject: Re: ��ôȡ���ļ���3x Date: Fri, 09 Jan 2004 17:35:02 +0800 Organization: Bentium Ltd. (CN99) Lines: 24 Message-ID: <hdtsvvgpsl58rkttuf5v6u3a9h8nhi67tt@4ax.com> References: <4AC10R$ASJ@freecity.cnzju.net> Reply-To: javaphp@sohu.com NNTP-Posting-Host: 211.157.16.205 Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Trace: news.yaako.com 1073640816 17142 211.157.16.205 (9 Jan 2004 09:33:36 GMT) X-Complaints-To: usenet@news.yaako.com NNTP-Posting-Date: Fri, 9 Jan 2004 09:33:36 +0000 (UTC) X-Newsreader: Forte Agent 1.8/32.548