java - Performing an action in Eclipse after period of inactivity -


I am programming some ideas and editors in Eclipse and have the following problem.

How can I do this shortly after "inactivity"?

So my problem is that I have a scene that displays information from a certain model. This model sends events when it is updated, but sometimes it can send floods of events. Instead of keeping your view on an event, I want to set the event a timer and if that timer ends without any other incident, then I really want to update my view. Although I can not find a way to do this. The best I can find is the Display.timerExec method, but I have to say this at every event and then have some time to look at it to see if another event should come in the medieval period. Has been or not?

I have seen plain Java Timer classes but they do not appear to provide me a resetable timer.

Any ideas what I want to do, how can I get it?

Try UiJobs ->

Comments