cancel
Showing results for 
Search instead for 
Did you mean: 

How to open a Pop Window after a time delay?

Former Member
0 Kudos

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

View Entire Topic
Former Member
0 Kudos

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

Former Member
0 Kudos

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 .