Thomas DeWeese wrote:

>    This is why you aren't getting updates (when a runnable
> completes it checks if there are dirty regions, if there
> are it arranges for a repaint).  It also means
> that you would likely eventually get into other threading
> problems.

>   In the run method of the Runnable you pass to the RunnableQueue's
> invokeLater method.  Often it is sufficent to just create a
> anonymous inner class for this:

>    updateManager.getUpdateRunnableQueue().invokeLater(new Runnable() {
> public void run() {  // Your code goes here  });

Thanks to your advice, all is working well now !! (and I don't have to force
a repaint).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to