Subscribed to the channel, very interesting chanenel congrats.
I'll do the way you suggested, thanks!

Do you have some tips on how to style the tray icon?
I have implemented a tray icon following this tutorial
https://docs.oracle.com/javase/tutorial/uiswing/misc/systemtray.html
but styling a popup menu seems impossible...

Tanks you
Davide


Il 24/07/2021 19:14, Tom Schindl ha scritto:
Hi,

As the picture did not made it through i can only guess that we talk about the window trim who is controlled by the OS and so JavaFX has no control how it is drawn.

So the „solution“ is to use a StageStyle.UNDECORATED and draw a trim with min/max/close yourself, implement window resizer,...

 I‘ve put the word solution in quotes because once you do that you loose many native festures like snapping to other windows or desktop edges.

I gave a talk last year where i talk a bit about this stuff - https://m.youtube.com/watch?v=NusKg2ZWnrg <https://m.youtube.com/watch?v=NusKg2ZWnrg> the stuff you are interested in starts around minute 9:20

Tom

Von meinem iPhone gesendet

Am 24.07.2021 um 18:14 schrieb Davide Perini <perini.dav...@dpsoftware.org>:

Hi all,
I am using some CSS rules to create a "dark theme".

Is it possible to change the color of the window?



As you can see in this picture I have a dark theme but the window border is white. can I change that color?

Thank you.
Davide

Reply via email to