My application prompts for a password on startup. I use InputDialog, but the problem is the password is open to everybody i.e it isn't masked & it comes with Ok_Cancel. when the user clicks on cancel I get an Exception, it isn't solved even when the exception was caught. Is there any other way to solve this prblm.? Happy middling with java. Netharam.