Search code examples
javajavafxtrayicon

Creating tray icon using JavaFX


I want to write a tray icon via JavaFx, but I only find that can write by awt. Is there any way that can write it use JavaFx?

It will look like these tray icons from Windows 10:

enter image description here


Solution

  • If this is to be believed, JavaFX will feature tray icons in a future update. Till then stick to AWT. Keep track of the development using this thread on the JDK bug system. Hope this helps.