[4239] in java-interest

home help back first fref pref prev next nref lref last post

RE: input password in an applet

daemon@ATHENA.MIT.EDU (Paul Chang)
Thu Dec 14 08:39:23 1995

From: Paul Chang <pchang@scopus.com>
To: java-interest <java-interest@java.sun.com>, Tim Moons <tim@innet.be>
Date: Thu, 14 Dec 95 03:37:00 PST


Hi, Tim,

Kindly refer to the following URL:   
 http://java.sun.com/JDK-beta/api/java.awt.TextField.html

Use the setEchoCharacter method of the TextField class to set the echo   
character.  In your case, you would use something like   
"textFieldObject.setEchoCharacter('*')" where textFieldObject is an   
object of the TextField class (duh!).

Cheers,

Paul Chang
Software Architect, Scopus Technology
pchang@scopus.com

 ----------
From:  Tim Moons[SMTP:tim@innet.be]
Sent:  Tuesday, December 12, 1995 5:13 PM
To:  java-interest
Subject:  input password in an applet

Hello JAVA-goeroes,

I'm writing some applets to give the account-information from a client.

When they push a button on our homepage, a new frame appears, where I
putted 2 Textfields :
  * one fore their username
  * a second for their password

problem :
How is it possible to allow the user to edit the textfield, BUT the text
he types may not be shown (it is a password), but an asterix (*) has to
appear.
Why I use TextFields ??
  Well, because I can't find any other good layout-sollution !!

Thanks in advance,

        Tim Moons ........

Email : tim@innet.be
Phone : (mon + thu)      : +32 3 281 49 83
        (all other days) : +32 11 42 11 17
 -
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com


The following binary file has been uuencoded to ensure successful
transmission.  Use UUDECODE to extract.

begin 600 WINMAIL.DAT
M>)\^(CL#`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V`!``"`````@`"``$$
M@`$`(````%)%.B!I;G!U="!P87-S=V]R9"!I;B!A;B!A<'!L970`0`L!!8`#
M``X```#+!PP`#@`#`"4`.``$`%`!`2"``P`.````RP<,``X``P`A``<`!``;
M`0$)@`$`(0```$5!,#$S138S.3<S-4-&,3%!-$0S,#!!,#(T,4$Y,4$R`/T&
M`0.0!@`T!@``$`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`#T``0````4```!213H@`````*WR
`
end
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post