We help IT Professionals succeed at work.

Password Dialog

dl090597
dl090597 asked
on
Medium Priority
200 Views
Last Modified: 2010-04-16
I would like to display a password dialog, similar to the one displayed when you log onto Experts Exchange.  Can this be done in Java.
Comment
Watch Question

Yes, you certainly can.

There are two approaches you can use:

1.- Write a frame based applet that displays the login screen and access a file or database that validates the login info.

2.- Download an equivalent solution such as the one at:
http://www.riada.com/lock.html

Hope this helps.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:


I can send you the source for a login dialog class
if you like.  Just e-mail me at rembo@cks.com

-Tony


If you're using the frame based solution, just add two
textfields and two labels(one for the login name and one for the password). Make sure that, when the password field is in fokus, to set the echo char to * or something else!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.