Q:

JavaFX 2.0 Window to Tray

I want to develop a service with JavaFX UI (all-in-one). When the user clicks on the Close button I want to move the app to the system tray and keep it opened with all the listeners active.
For now, what I achieved is that when someone clicks on close button the app gets minimized.
Anyone knows how to move the app to the tray (At least in windows systems)?
Thanks

A:

See this discussion. In summary:

at present, the easiest solution seems to be to embed your application in AWT and use AWT to place your application to the system tray
the feature is targeted in JavaFX 3.0, i.e. 2013 according to the current roadmap
the OP in that discussion uses a circumvoluted method that I have not tested but might do what you need.

