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 like this picture on windows 10
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.