I want my java application start before the user can actually log in to his machine.Actually I need to have a dialog where user enters his username and password and then only he is directed to the login prompt of the O.S.How can I make my dialog operate in this manner?Any idea?Please help.

