RFR: JDK-8302355: Public API for Toolkit.canStartNestedEventLoop() [v3]

Ambarish Rapte arapte at openjdk.org
Tue Mar 14 09:38:59 UTC 2023


On Sat, 18 Feb 2023 13:30:42 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.
>
> Marius Hanl has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - JDK-8302355: Missing brace
>  - JDK-8302355: Improved javadoc

Marked as reviewed by arapte (Reviewer).

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

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


More information about the openjfx-dev mailing list