Solved

Password Dialog

Posted on 1997-11-16
3
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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.
Suggested Courses

738 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