logo       

Blocking Login Dialog: msg#00029

java.ulc.devel

Subject: Blocking Login Dialog

All,

I am trying to create a log in dialog for a ulc app. The pseudo logic
goes along these lines:

Application Starts.
Check to see if user is authenticate.
If not display login dialog.
Wait for the login credentials to be entered (ie the user enters data and
clicks ok).
If user authenticates continue, else terminate the application.

If this were a normal swing UI, I would expect to open a modal dialog that
blocks the current thread and waits for the users response. However the
ULCDialogs setVisible method doesn't seem to b e blocking. I have noticed
some posts on the dev list that indicate that ULC components don't block
application threads. Most likely because the UI side and the application
side are in separate VMs and therefore separate threads.

Any suggestions on how I would accomplish what I am trying to do?


Michael MacFadden
Tomax Corp - http://www.tomax.com
mmacfadden@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise