This content has been marked as final. Show 2 replies
2-Subclass Timer to fill your need.
What you can do is use thread.sleep to sleep for whatever amount of time you want it to wait for. Then have that placed inside of a while loop and have a counter to determine how many times it goes through till your condition it met. So something like this.
That is what I would do. Of course when your done time will be in seconds so you can adjust for your needs