🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to change JFileChooser labels?

#7981
From: Joi Ellis [TeamB]
Date: Sun, 19 Nov 2000 00:00
18 lines
1336 bytes
Steve Nicholson <steve.nicholsonONAY@amspayblackpearl.com> wrote:
> I'm using a JFileChooser to select a directory. I haven't been able to
> find a way to change the "File name" label to "Directory". Can anyone
> help?

There is a bug report on Sun's bug parade which claims the methods for
setting button labels and frame titles on the JDirectoryChooser are documented
but not implemented.  I don't know if this affects JFileChooser or if there
are similar bugs in it.  JFileChooser has a LOT of bugs where documented
API isn't implemented properly, if at all.  

Browse through Sun's Bug Parade and see if there's something there related
to the methods you're using.

-- 
Joi Ellis (TeamB) 
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID: <8v9m23$6fg11@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3A146D0D.9EF70517@AMSPAYblackpearl.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ee41bbae1334bda
X-Google-Attributes: gid111d45,public
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: How to change JFileChooser labels?
Date: 2000/11/19
Message-ID: <8v9m23$6fg11@bornews.inprise.com>
X-Deja-AN: 695554063
References: <3A146D0D.9EF70517@AMSPAYblackpearl.com>
Organization: Another Netscape Collabra Server User
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Newsgroups: borland.public.jbuilder.java.swing