Solved

Password Dialog

Posted on 1997-11-16
3
175 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.
0
Comment
Question by:dl090597
3 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 50 total points
ID: 1230714
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.
0
 
LVL 4

Expert Comment

by:rembo
ID: 1230715


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

-Tony


0
 

Expert Comment

by:peed112097
ID: 1230716
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!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet  URL Rewriting 1 36
jdbc error in jsp application 20 44
runtime exception 2 27
throw exception 21 43
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question