Platform#runLater Question
Richard Bair
richard.bair at oracle.com
Mon Apr 1 12:31:47 PDT 2013
I'm not sure I follow. #runLater is a means for putting some runnable on the event queue for execution on the event thread at some point in the future. The event queue is typically a native one (hence no means to replace it via setting another executor). Of course on the Service is an executor that you could specify for running background jobs.
Richard
On Apr 1, 2013, at 12:05 PM, Mark Fortner <phidias51 at gmail.com> wrote:
> In the past, I've found the *Platform#runLater* method to be a useful way
> to run tasks. However, I've noticed that the code that runs my thread is
> not really configurable or accessible. For example, it would be nice to be
> able to specify and configure a top-level *ThreadPoolExecutor* to handle my
> tasks. Or be able to switch out *Executor* implementations.
>
> I was wondering if there was some reason for implementing runLater this
> way, or if there are any plans to change it in the future?
>
>
> Cheers,
>
> Mark
More information about the openjfx-dev
mailing list