🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getting String from JPasswordFiled

#8971
From: Rita Barda
Date: Mon, 19 Jun 2000 00:00
36 lines
1534 bytes
This is a multi-part message in MIME format.
--------------C40FAFFA76921C14C5C89527
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

How can I retrieve a password text as String from JPasswordField?
I tried:
String pwd = passwordField.getPassword().toString() ;

It does not work. If, for example, I entered "admin", pwd is
"[C@75a46c4e".

Thank's in advance.
--------------C40FAFFA76921C14C5C89527
Content-Type: text/x-vcard; charset=us-ascii;
 name="rita.barda.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Rita Barda
Content-Disposition: attachment;
 filename="rita.barda.vcf"

begin:vcard 
n:;
tel;fax:972-9-9573732
tel;work:972-9-9524025
x-mozilla-html:FALSE
org:Conexant Systems Israel (1996) LTD.;NAD
version:2.1
email;internet:rita.barda@conexant.com
adr;quoted-printable:;;11 Galgaley Haplada Street=0D=0AP.O.B. 12660;Herzlia;;46733;Israel
fn:Rita Barda
end:vcard

--------------C40FAFFA76921C14C5C89527--
Technical Details
Message-ID: <394DF83D.55DA806F@conexant.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,184c6c58d2f76e17,start
X-Google-Attributes: gid111d45,public
From: Rita Barda <rita.barda@conexant.com>
Subject: Getting String from JPasswordFiled
Date: 2000/06/19
Message-ID: <394DF83D.55DA806F@conexant.com>
X-Deja-AN: 636305491
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------C40FAFFA76921C14C5C89527"
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing