Integrated: JDK-8302355: Public API for Toolkit.canStartNestedEventLoop()

Marius Hanl mhanl at openjdk.org
Tue Mar 14 09:53:38 UTC 2023


On Mon, 13 Feb 2023 19:31:56 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

> This PR adds the last missing method for dealing with nested event loops.
> As also written in the ticket, there is currently no (public) way to find out whether it is safe to start an event loop now or not.
> Classes like `Dialog` check via `Toolkit.getToolkit().canStartNestedEventLoop()` (sun api), if it safe to start a nested event loop before doing so.

This pull request has now been integrated.

Changeset: df22c410
Author:    Marius Hanl <mhanl at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/df22c4108e3903b4d7bc1f67067ddbba1819d212
Stats:     159 lines in 4 files changed: 152 ins; 0 del; 7 mod

8302355: Public API for Toolkit.canStartNestedEventLoop()

Reviewed-by: kcr, arapte

-------------

PR: https://git.openjdk.org/jfx/pull/1031


More information about the openjfx-dev mailing list