on 08-29-2008 12:13 PM
Hi,
I want to open a Pop Up window on click of a checkbox. However the Pop Up window should open after 1 minute.
Can anyone tell me how can I achieve this? Do I need to use TimedTrigger UI Element?
Thanks and Regards,
Monideepa
hi Monideepa
In Post of Shivaramakrishna you replace the statement
this.wait(1000); as
Thread.currentThread.sleep(1000);
I have tried that and Its working fine by changing the above line
Regards
Madhavi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Madhavi,Siva,Manivannan and Anup for your helpful replies.
The solution given by Siva was helpful but this.wait(1000) was giving an error " java.lang.IllegalMonitorStateException: current thread not owner ". However the solution given by Madhavi to replace this.wait() with
Thread.currentThread().sleep(60000);
solved the error and on click of the checkbox the pop up window opened after 1 minute.
Thanks once again .
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.