Article View: borland.public.jbuilder.java.swing
Article #136JFileChooser Filters
From: John Hetherington
Date: Sat, 25 Feb 2006 21:12
Date: Sat, 25 Feb 2006 21:12
12 lines
1400 bytes
1400 bytes
Hello from New Zealand, Can anyone help with setting up a simple multiple filter on the Swing FileChooser component, I have used C++ Builder before and it was a matter of using a mask editor, 2 minutes tops. I can't get to grips with the same move on JBuilder. Suppose I want to have my File Open dialog display a filter list for the *.odt files , *.jpg and *.gif files. The sun site says I have to create a Filter class, I notice one of the properties of the JFilechooser component is a filter?. Can anyone give me a leg up on this. Kindest Regards John Hetherington
Technical Details
Message-ID:
<4400d65c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,399240278cac5c83,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John Hetherington" <janetandjohn@clear.net.nz> Sender: "John Hetherington" <janetandjohn@clear.net.nz> Reply-To: "John Hetherington" <janetandjohn@clear.net.nz> Subject: JFileChooser Filters Newsgroups: borland.public.jbuilder.java.swing X-User-Info: 218.101.103.127 X-Forwarded-For: 218.101.103.127 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4400d65c$1@newsgroups.borland.com> Date: 25 Feb 2006 14:12:44 -0700 X-Trace: newsgroups.borland.com 1140905564 207.105.83.66 (25 Feb 2006 14:12:44 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail