JPasswordField GetPassword method.

From: Max (xvulcan_80_at_yahoo.com)
Date: 02/28/04


Date: Sat, 28 Feb 2004 15:24:23 +0800

Hi all,
I'm using the JPasswordField to get the user insert password. Previously it
uses getText() to retrieve the password, but now the getText() for
JPasswordField has been deprecated, the getPassword is recommended instead.
But i have no idea how to retrieve the data from the JPasswordField.

Do anyone have any idea?

Thanks and Regards,

Max.



Relevant Pages

  • Re: JPasswordField GetPassword method.
    ... > I'm using the JPasswordField to get the user insert password. ... > it uses getText() to retrieve the password, ... But i have no idea how to retrieve the data from the ... It gives you a char array. ...
    (comp.lang.java.gui)
  • Re: Hello out there...
    ... can you use GETTEXT to retrieve a telephone ... > number after the phrase: ... > I cannot hardcode. ...
    (microsoft.public.dotnet.languages.vb)