Immersive support for titlebar for JavaFX running on Windows.

Michael Strauß michaelstrau2 at gmail.com
Sat Aug 23 19:07:52 UTC 2025


Hi David,

there's already a PR out that matches the system-provided titlebar
color to the selected color scheme:
https://github.com/openjdk/jfx/pull/1845

Maybe that does what you need.


On Sat, Aug 23, 2025 at 8:58 PM David Bundgaard
<david.bundgaard at gmail.com> wrote:
>
>
> Hello,
>
> I would like to add support for immersive titlebar for JavaFX, that means when we run in darkmode the title bar would be colored dark.
> I already have a work in progress, compiling locally, due to being new in this community, I would like to know if this is something I can proceed with?
>
> Also I would like to know if I can keep the code simple or would you like this feature to be implemented using win32 LoadLibrary and that complexity?
>
> I will fix a copy of the code on my github, during one of these days for you to comment about.
>
> Let me know what you think
>
> All the best
>
> David


More information about the openjfx-dev mailing list