Hi, System tray support is one of the most recurring requests. The known workaround is for the application writer to use the AWT system tray support. It is not possible for core JavaFX to rely on it.
If you would like to contribute, I'm sure the request will be approved. - Nir On Tue, Jan 5, 2021 at 12:44 PM Clement Levallois < [email protected]> wrote: > Dear all, > > This is to suggest an enhancement to javafx: a native way to interact with > the icon / app / system tray > > See this pic for an illustration of the icon tray, if unclear: > > There exist java awt classes to access the System Tray, but this obliges > to add these classes to the build, which can be problematic? > Example of these awt classes in the context of a JavaFX app: > https://stackoverflow.com/questions/12571329/javafx-app-in-system-tray > > Desktop apps get more traction if they can be minimized and left to run in > the background then accessed later via the icon tray, rather than closed > and restarted. An API for the icon tray would help manage this part of the > life cycle of an application. > > Doing some further research for this first post on this mailing list, I > realize there is already a request for enhancement opened since 2014: > https://bugs.openjdk.java.net/browse/JDK-8092115 > > CL > > -- > Clément Levallois > Sent with [ProtonMail](https://protonmail.com) Secure Email.
