使用JavaFX创建托盘图标 [英] Creating tray icon using JavaFX
本文介绍了使用JavaFX创建托盘图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过 JavaFx
写一个托盘图标,但我发现只能写 awt
。
有没有办法可以用 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
?
看起来像这些托盘图标来自Windows 10:
It will look like these tray icons from Windows 10:
推荐答案
如果要相信这个,JavaFX将在未来的更新中使用托盘图标。然后坚持AWT。使用JDK错误系统上的此主题跟踪开发情况。希望这会有所帮助。
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.
这篇关于使用JavaFX创建托盘图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文