Solved

Password Dialog

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.

726 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