JavaFX app in System Tray

前端 未结 5 734
有刺的猬
有刺的猬 2020-11-30 07:49

I am Making a Simple App using JavaFX UI, The app simply just do that:

  • has a systray icon, which when clicked shows a window, when clicked again hides it, on
5条回答
  •  隐瞒了意图╮
    2020-11-30 08:16

    Shameless self-plug, but I developed a small wrapper library for JavaFX icons that use the SystemTray called FXTrayIcon.

    It abstracts away all of the nasty AWT bits and eliminates having to guess which thread you should be running code on. It's available as a dependency on Maven Central.

提交回复
热议问题