[concurrency-interest] Confused about Component.getTreeLock()

Joe Bowbeer joe.bowbeer at gmail.com
Tue Mar 6 16:34:36 EST 2007


On 3/6/07, Gregg Wonderly <gregg at cytetech.com> wrote:
>
> Thomas Hawtin wrote:
> > Gregg Wonderly wrote:
> >>
> > It turns out that
> > the explicit multithreading capabilities of the Swing text doesn't
> > actually work or indeed make any sense.
>
> In that case, the component (the JTextField) is realized, so based on the old
> verbage, you should "know" to use the EDT.

There was an attempt to add support for asynchronous document updates
to Swing (though I could never figure out how it was supposed to work
reliably).  I think this is what Thomas was referring to.


More information about the Concurrency-interest mailing list