RFR: 8313424: JavaFX controls in the title bar [v19]
Michael Strauß
mstrauss at openjdk.org
Tue Nov 5 01:26:35 UTC 2024
On Mon, 4 Nov 2024 23:57:40 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinWindow.java line 385:
>>
>>> 383: * Classifies the window region at the specified physical coordinate.
>>> 384: * <p>
>>> 385: * This method is called from native code.
>>
>> is it called from the fx application thread?
>
> would it be possible to specify where from?
Yes, but if we do that, then we should do it everywhere it matters. The native toolkits are not multi-threaded, so all native upcalls happen on the JavaFX application thread. We should probably do this in another PR, and discuss how to do it uniformly (javadoc, annotation, etc).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1828604346
More information about the openjfx-dev
mailing list