🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12327

Re: customizing JFileChooser

#12327
From: Richard Wilkman
Date: Thu, 21 Jan 1999 00:00
40 lines
1804 bytes
Mari:

If Javasoft wrote that one right, those strings should be resourced
and if Java noticed it was running on a French locale you'd get
French.  You should never have to do setText() type items differently
in a different locale.  Does the same behaviour happen if you start up
your app with a French locale set?

The old file chooser was really a peer for the Win32 Open dialog which
is locale sensitive (as in it works off the locale set for Windows).

-Rich

Mari-Mai Henaff wrote:
> 
> Hi,
> 
> Is there a way to customize the JFileChooser, in order to
> translate the labels "Look in", "File name:", "Files of type:"
> and "Cancel" in an other language (in French). The only
> label that can be easily changed is the one of the approve
> button.
> 
> Thanks,
> Henaff.

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <36A7BAC1.8055812C@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36A75516.3B33A241@co2w3.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,dc4b4e4f711826c9
X-Google-Attributes: gid111d45,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: customizing JFileChooser
Date: 1999/01/21
Message-ID: <36A7BAC1.8055812C@inprise.com>
X-Deja-AN: 435418098
Content-Transfer-Encoding: 7bit
References: <36A75516.3B33A241@co2w3.fr>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing