create login java program

Status
Not open for further replies.

dashang

Journeyman
I am looking for code to create login java program in which user enter pass if its correct run remaining program else terminate/ Help me guys. I am having problem with whowing '*' as display how to do it???
 

redhat

Mad and Furious
I too once faced the same problems...
Are you using applets? or a UI? or is it just the command line??
Because if its applets or UI it can be done, I had read a article on sun Java's website for it, but in command line, its almost impossible, although I found a trick, its not very good, found it on sun's website, dont remember just now
 

ray|raven

Think Zen.
^QwertyM : JPasswordField doesnt need to set .echoChar()
Not unless you wanna show some other char specifically.
 

QwertyManiac

Commander in Chief
Ohk, does it use asterix by default on all platforms? Windows uses a different thing so I thought maybe you had to set it that way. Wrote those on *nix though :p
 
Status
Not open for further replies.
Top Bottom