Designing login screen

Hi gus!:I have a question: Which approach is better? - From the login dialog instantiate the main Window of the application or - Begin the application, then show de login dialog and if the username is valid, dispose the dialog and return to the main appThanks
[294 byte] By [el_killer_rifaa] at [2007-10-3 0:52:08]
# 1

usually, from an efficiency standpoint, the time where the login dialog box is visible is relatively computationally light, because the user cannot type keystrokes nearly as fast as the computer can process them. Hence, that is valuable time that the application could be using to initalize the application. I would take advantage of that. It can do wonders for your start-up time.

I would FIRST open the login dialog, then begin intializing the application, even before the login is necessarily complete. The ONLY concern I can think of here is security related: can the user find someway to access the application that is being initialized before the login process is complete (i.e. can he/she circumvent the login process). THis should be relatively easy to prevent, however.

- Adam

guitar_man_Fa at 2007-7-14 17:47:14 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Thanks Adam:It is a very good point of view. I will take it >=))By the way, I chose to start the app, then show the login window, instead of initialize the main app from the login screen.Thanks.
el_killer_rifaa at 2007-7-14 17:47:14 > top of Java-index,Other Topics,Patterns & OO Design...