RFR: JDK-8290469: Add new positioning options to PassFailJFrame test framework [v6]
Alexey Ivanov
aivanov at openjdk.org
Mon Aug 8 11:54:05 UTC 2022
On Fri, 5 Aug 2022 20:26:31 GMT, Phil Race <prr at openjdk.org> wrote:
>> Is that possible? Toolkit thread is not EDT, therefore native events are processed, it's probably enough to update the frame coordinates while EDT is blocked and doesn't handle events.
>
> Can you expand on what you mean ?
> What's the problem with native events being processed ? We want that.
> And this obviously isn't being called on the toolkit thread.
>
> This change isn't doing anything to that method that might change threading reqts or rules of use.
> Any problems already existed. What is being changed (apart from adding the new API) is just to make it more robust.
@prrace I'm just trying to understand how it works and whether it changes threading requirements. `Thread.sleep` blocks the EDT, no events are handled. If processing native events is enough to update the frame coordinates, that's good.
Thank you both for clarifying.
-------------
PR: https://git.openjdk.org/jdk/pull/9525
More information about the client-libs-dev
mailing list