Is there a way to easily change the window border color?
Andy Goryachev
andy.goryachev at oracle.com
Mon May 1 21:02:50 UTC 2023
Dear Davide:
There is currently a discussion on the mailing list around platform preferences API
https://bugs.openjdk.org/browse/JDK-8301302
and also a draft PR (one of possibly many)
https://github.com/openjdk/jfx/pull/1014
I am sure your feedback will be greatly appreciated by all the participants.
-andy
From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Davide Perini <perini.davide at dpsoftware.org>
Date: Monday, May 1, 2023 at 13:46
To: openjfx-dev at openjdk.org <openjfx-dev at openjdk.org>
Subject: Is there a way to easily change the window border color?
Hi all,
is there an easy way to change the window border color in JavaFX?
I would not like to create a custom border since I like to use the "native window border" look n feel,
but how can I match the color with the one used in the OS?
I'm using Windows 11 here,
[cid:part1.lQoqmFQP.Q0pClVoY at dpsoftware.org]
as you can see from this image, Windows explorer uses a dark grey border, while my JavaFX app uses the light grey color.
How can I change that color without creating a custom "window border"?
Thanks
Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230501/0d049a06/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XkvmWtJR6f3y8rZb.jpeg
Type: image/jpeg
Size: 125179 bytes
Desc: XkvmWtJR6f3y8rZb.jpeg
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230501/0d049a06/XkvmWtJR6f3y8rZb-0001.jpeg>
More information about the openjfx-dev
mailing list