Tom Schindl tom.schindl at
Wed Jan 2 01:28:47 PST 2013

I think the reason Richard provides is a weak one. I also have
situations where a syncAndWait is needed (I need it because I have to
implement an API I don't control).

Not providing an utility method because someone could do bad things with
it is not a good strategy. Yes concurrent programming is not easy and
you'd better know what you are doing else don't do it!

Not providing utilities leads to is code duplication you see now all
over the place, I have one in my library, Hendrik has one well and most
likely many others. Do jfx-extras also holds utilities or is it simply
about controls? Could we add such a method there?


Am 02.01.13 09:23, schrieb Hendrik Ebbers:
> Thanks.
> Am 02. Januar 2013 um 05:12 schrieb Gerrit Grunwald <han.solo at>:
> Hi Hendrik,
> there is a comment from Richard about it that could be found here:
> Cheers,
> Gerrit
> Am 01.01.2013 um 23:48 schrieb Hendrik Ebbers <hendrik.ebbers at>:
> Hi,
> I created a "invokeAndWait" method for JavaFX that is a equivalent of
> SwingUtilities.invokeAndWait(...). It will be part of DataFX. You can
> read about it in my blog:
> I ask myself why there is no "invokeAndWait" method in
> javafx.application.Platform. Is there any good reason? In swing I use
> "invokeAndWait" often and so I think it is also important for JavaFX.
> - Hendrik

B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                 geschäftsführer/CEO
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833                      phone    ++43 512 935834

More information about the openjfx-dev mailing list