I filed https://bugs.openjdk.org/browse/JDK-8325888 to track this.

-- Kevin

On 2/13/2024 11:11 AM, Michael Strauß wrote:
The reason why the values are wrong might be that in PlatformSupport.m
L105, we query [NSApp effectiveApperance], but this always seems to
return the light appearance if JavaFX doesn't own the NSApplication.

On Mon, Feb 12, 2024 at 6:26 PM Kevin Rushforth
<kevin.rushfo...@oracle.com> wrote:
Actually, it's worse than not detecting changes, it's simply not getting the 
right values at all. If I run the program when the system appearance is already 
in Dark mode, it doesn't get the correct values at start up.

-- Kevin

Reply via email to