🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3279

Re: File Dialog - File Extensions ?

#3279
From: Andrew Bennett [ Borland ]
Date: Mon, 02 Mar 1998 00:00
32 lines
1840 bytes
Stefan Zueckert wrote:
> 
> Hi
> 
> I have open a File Dialog to open a File.
> Now I want to open only .txt files.
> How can I create FileExtension Filter in a File Dialog ??

FileNameFilters are broken.  See the description of the
Java bug on their web page at

http://developer.javasoft.com/developer/bugParade/bugs/4031440.html

The bug has a lengthy description of why it's broken by Tom
Ball of JavaSoft.  Down at the bottom, there are numerous
customer workarounds and simulations.

Hope that helps.


Andrew
--
  Andrew Bennett
  abennett@borland.com

  Due to my workload, personal email more than likely won't get a reply.
  Support options are detailed at http://www.borland.com/devsupport/
  I am unable to answer support questions via email at this time.

  Check http://www.borland.com/devsupport/jbuilder/ for FAQs and
  additional JBuilder support related help.
Technical Details
Message-ID: <34FAE6CF.BE219DAC@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34FAB216.1F5B7A57@incases.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b2dd,66726f55d32ff413
X-Google-Attributes: gid10b2dd,public
X-Google-Thread: 101c4c,66726f55d32ff413
X-Google-Attributes: gid101c4c,public
X-Google-Thread: 1089d0,66726f55d32ff413
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f74b3,66726f55d32ff413
X-Google-Attributes: gidf74b3,public
From: "Andrew Bennett [ Borland ]" <abennett@borland.com>
Subject: Re: File Dialog - File Extensions ?
Date: 1998/03/02
Message-ID: <34FAE6CF.BE219DAC@borland.com>
X-Deja-AN: 330058648
Content-Transfer-Encoding: 7bit
References: <34FAB216.1F5B7A57@incases.com>
Content-Type: text/plain; charset=us-ascii
Organization: Borland JBuilder -- http://www.borland.com/jbuilder/
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language,borland.public.jbuilder.javabeans.using,borland.public.jbuilder.javabeans.writing