🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19312

Re: Getting a Password TextField NOT to display characters.

#19312
From: Alex Humphreys
Date: Thu, 19 Feb 1998 00:00
29 lines
1349 bytes
Thanks, worked like a charm.

James D. Frentress wrote:

> Alex Humphreys wrote:
>
> > I have a simple login dialog that will take a user id and login as
> > text
> > field entries.  Now.  Is there a way i can get the Password box to
> > only
> > display * characters for the characters?  The only way I can think of
> > to
>
> Here's the answer, straight from the online docs:
>
>  setEchoChar
>
>  public void setEchoChar(char c)
>
>    Sets the echo character for this TextField. This is useful
>    for fields where the user input shouldn't be echoed to the
>    screen, as in the case of a TextField that represents a
>    password.
>
>    Parameters:
>       c - the echo character for this TextField
>    See Also:
>       echoCharIsSet, getEchoChar
Technical Details
Message-ID: <34EC46AD.BD6BD037@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34EB88D6.49970B4@sema4.com> <34EB9523.D594FBCF@ForAWhile.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7f31e12814f8fd1c
X-Google-Attributes: gidf74b3,public
From: Alex Humphreys <ahumphreys@sema4.com>
Subject: Re: Getting a Password TextField NOT to display characters.
Date: 1998/02/19
Message-ID: <34EC46AD.BD6BD037@sema4.com>
X-Deja-AN: 326610459
Content-Transfer-Encoding: 7bit
References: <34EB88D6.49970B4@sema4.com> <34EB9523.D594FBCF@ForAWhile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language