Enhancement: native JavaFX api to interact with the icon / app / system tray

Clement Levallois clementlevallois at protonmail.com
Tue Jan 5 10:37:08 UTC 2021

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:


Clément Levallois
Sent with [ProtonMail](https://protonmail.com) Secure Email.

More information about the openjfx-dev mailing list