Skip to Content
0
Former Member
May 24, 2005 at 05:53 PM

wait() sleep() function

579 Views

hi,

i am not the java expert, but am i right, that this typical waiting-flash-like animation can be set up on purpose using the following code:

try {
    Thread.currentThread().sleep(30000);	
	           	           
// set Visibility
wdContext.currentContextElement().setVisible1(WDVisibility.VISIBLE);
				      
   } catch (InterruptedException e) { 
     msgMgr.reportException("Error-Sleep020804: " +  e.getMessage(), true);
   }

or would you suggest to use another way eg the wait() function?

can i replace the sap-flashy-animation by my own message or gifani or anything similar?

thanx for your hint, and i shall deliver points 😉

matthias