System Tray icon on CentOS Stream 9
Hi
I'm using DorkBox's SystemTray on Windows 10, Linux Mint/Ubuntu and Apple and works as expected. I recently developed a build of our software for CentOS Stream 9 and discovered that the system tray icon was not displayed.
Has anyone seen this?
Stepping in with the debugger it throws the exception:
"Caused by: java.lang.IllegalAccessError: superclass access check failed: class dorkbox.util.ImageUtil$1 (in module dorkbox.utilities) cannot access class java.awt.Component (in module java.desktop) because module dorkbox.utilities does not read module java.desktop"
Thanks Graham
Turns out that the system-tray is not supported on CentOS/Rocky by default but can be installed as an "AppIndicator" extension by clicking the Install button in this link:
https://extensions.gnome.org/extension/615/appindicator-support/