RFR: 8362091: Window title bar should reflect scene color scheme [v3]

Christopher Schnick crschnick at xpipe.io
Tue Dec 30 16:59:28 UTC 2025


Ah okay, I thought this could also be thrown from within the native 
method GlassWindow::SetDarkFrame when it calls a dwmapi.dll function and 
that dll is somehow broken or non-standard. If that is not possible, 
then you can ignore this and I will file that as broken user system.

On 30/12/2025 5:51 PM, Michael Strauß wrote:
> UnsatisfiedLinkError means that the JVM can't find an exported native
> function for a method declared as "native".
> In this case, this probably means that an old version of glass.dll is
> loaded (one that doesn't export the
> com_sun_class_ui_win_WinWindow__setDarkFrame function).
> The native libraries are only compatible with the JavaFX version to
> which they belong, they are not backwards- or forwards-compatible.
> Assuming that you're shipping the correct version of JavaFX and its
> native libraries with your application, this probably means that the
> user tampered with the application, or messed up their system
> configuration in some way.
>
>
> On Tue, Dec 30, 2025 at 5:35 PM Christopher Schnick <crschnick at xpipe.io> wrote:
>> We bumped the release version of our JavaFX dependency to the latest ea,
>> so it includes this feature now. I received an anonymous error report
>> (so no details or log) about this error occuring on a Windows 11 system:
>>
>> java.lang.UnsatisfiedLinkError:
>>       at com.sun.glass.ui.win.WinWindow._setDarkFrame(WinWindow.java)
>>       at com.sun.glass.ui.win.WinWindow.setDarkFrame(WinWindow.java:287)
>>       ...
>>
>> Maybe someone is using it a weird distribution of Windows 11 that you
>> typically don't find with end users. I sadly don't have any system
>> details. But in general it would be good if such an Error is caught and
>> handled properly. Because right now it is not caught anywhere.


More information about the openjfx-dev mailing list