dorkbox / SystemTray

Cross-platform SystemTray support for Swing/AWT, macOS, GtkStatusIcon, and AppIndicator on Java 8+
Other
430 stars 58 forks source link

SystemTray systemTray = SystemTray.get(); The result obtained is null #215

Closed asfdnkw closed 1 month ago

asfdnkw commented 2 months ago

In my Java project, I introduced the jar packages required for the tray. And then only called SystemTray systemTray = SystemTray.get(); This line of code. The result obtained is null. Here is my code's debag process 123456

2222

westboy commented 1 month ago

which operating system are you using?

asfdnkw commented 1 month ago

I am using ubantu22.04. I have resolved this issue and wish you a happy life as well