How can I set a delay during execution
I'm writing an application that calls a function in an external API. This part of code is:
status = objController.unRegisterMarkup(this);
status = objController.registerMarkup(this);
I'm not getting it to work correctly, and I would like to have a pause or delay of about 1 sec, to get something like:
status = objController.unRegisterMarkup(this);
delay("1000");// pause 1 second
status = objController.registerMarkup(this);
maybe there is an easy function in java, but I just don't know what it is.
Thanks

