Article View: borland.public.jbuilder.java.swing
Article #10104Re: JFileChooser does not support multiple selection
From: bl
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
23 lines
1274 bytes
1274 bytes
> In JDK 1.2.2 (even 1.3Beta), the method > setMultiSelectionEnabled(boolean) is not yet implemented in > JFileChooser. I wonder whether there is a way to walk around this > problem. Yes, there are a couple of threads on the sun java forums that talk about this. The implementation that seems most commonly used is described at: http://manning.spindoczine.com/sbe/files/uts2/Chapter14html/Chapter14.htm scan down to : "14.5 Customizing JFileChooser" This is an _UGLY_ workaround, and the java developers should be ashamed of letting this go this long :] I have used this technique to get a multiselect to work. good luck, b
Technical Details
Message-ID:
<3834CBD0.75F34D58@ssesco.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3830BD73.746A356E@kla-tencor.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f9566e6242b67e4d X-Google-Attributes: gid111d45,public From: bl <blincoln@ssesco.com> Subject: Re: JFileChooser does not support multiple selection Date: 1999/11/18 Message-ID: <3834CBD0.75F34D58@ssesco.com> X-Deja-AN: 550396838 Content-Transfer-Encoding: 7bit References: <3830BD73.746A356E@kla-tencor.com> To: "Song, Qiang" <qiang.song@kla-tencor.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing