password - how to check if its blank?

From: Chris (someone_at_somewhere.something)
Date: 12/26/04

  • Next message: Chris: "Re: password - how to check if its blank?"
    Date: Sun, 26 Dec 2004 16:55:18 -0500
    
    

    I'm new to Java (Just got a book on it 2 days ago and I am making my first
    application)

    I have a login page using Swing with a username and password field with the
    username field being TextField and password field being PasswordField.
    Passwords when retrieved with getPassword() returns a character array (
    char[] ) and I don't kno how to check if it is blank.

    Thanks in advance!


  • Next message: Chris: "Re: password - how to check if its blank?"

    Relevant Pages

    • Re: Windows Gina
      ... On my servers that remember the last user focus to the password field, ... servers that do not remember focus to the username field. ... >>> focus set to the password field instead of the username when at the ...
      (microsoft.public.windows.server.general)
    • Re: Case sensitive username/password
      ... IMO you'll have to compare yourself using a case sensitive comparison in ... I'm not sure about the goal (as this is unusual it could confuse users, ... password field for the users to log in. ... the username field is not. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: cant get control to hold state
      ... username field holds it's state. ... If I change the password field from ... password mode to normal text mode, ... trick to getting a checkbox to hold it's state? ...
      (microsoft.public.dotnet.languages.csharp)
    • Tabbing problems within a Frame
      ... bar, a main middle section and a small bottom bar. ... Now the middle bar is a login page with a username, ... the cursor focuses on the username field. ... textfield then on tabbing it goes to password field. ...
      (comp.lang.javascript)
    • Re: vwait and return probs....
      ... The main problems are that typing ... > anything into the username field and then the password field is going to ... > There is also a bunch of other things that need doing (the second half ...
      (comp.lang.tcl)