Solved

Password Dialog

Posted on 1997-11-16
3
174 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My project did see openJDK that I installed. What could be the problem 7 120
maven example error 3 51
eclipse java  build path 6 43
Java SE 8u111  Lot of stuff broke 11 52
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

947 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now