start() would be the right place to do it. Just make sure that the dialog isn't 
maximized and has no owner.

Another option is to open your main window first, but not show any content 
until the dialog closes.

On Oct 26, 2011, at 8:11 AM, pan peter wrote:

> i need to provide a login page before main window, if login succeeds, open
> main window, otherwise show errors, how to do that?
> seems if i put it inside start(), pivot will open a big window
> automatically. if i put it in main(), then how can i get the display?
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/how-to-make-a-login-window-before-main-window-tp3454273p3454273.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to