PDA

View Full Version : Stop temporary gxt code execution until a Window object is hidden



AlessioUnibs
18 Dec 2010, 6:54 AM
Hi guys, i have a problem.
I have two checkboxes and a button. At the button pressing, if both checkboxes are selected, my code show 2 window gxt object at the same time. My problem is that Window object doesn't stop gxt execution code, so when i press the button all the 2 windows appear in the same time, while i want that windows appear one by one. It is possible stop normal gxt code execution until window's "ok" button or "close" button is pressed?

I hope i explain correctly the problem.
Can anyone help me?
Thanks in advance

sven
18 Dec 2010, 7:14 AM
No its not and its good that is not possible in a single threaded environment, the browser would hang.

Why dont you open the second window when you are finished with the first one?

AlessioUnibs
19 Dec 2010, 11:46 PM
Yes, you're right. I made as you write before. I create a code structure such that the second window open after the first is closed!
Thank you for the answer!