Re: No more font.wait()?
David Crawshaw <[email protected]> Sat, 10 Apr 2004 14:20:46 +1000
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/2004, at 2:12 PM, Adam Megacz wrote: > Okay, you get one additonal assumption -- rendering will only happen > when > > 1. you return from a thread function > 2. you block > 3. you return from a mouse/keyboard/resize event handler So are these rendering points guaranteed? My problem was: I had one thread change the position of a cursor, then instance another thread that created the selected region. Because the rendering happened twice, you could see the difference between these events. It's not a problem now because all this code now runs in the foreground. But it still might pop up somewhere else. -- d