Add system tray icon support on Linux

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      openjdk 17.0.2 2022-01-18, Ubuntu 20.04.3 LTS


      A DESCRIPTION OF THE PROBLEM :
      This is test code

      public class TestCode {

          public static void main(String[] args) {
              System.out.println("Tray supported:" + java.awt.SystemTray.isSupported());
          }
      }

      This code gives the following output on my Ubuntu 20.04.3 LTS

      Tray supported:false

      At the same system tray is supported, because in the right top corner of the screen I see : <attached>

      This problem was also discussed on SO - https://stackoverflow.com/questions/72594274/awt-and-ubuntu-20-the-system-tray-is-not-supported-on-the-current-platform


      FREQUENCY : always


            Assignee:
            Alexander Zuev
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: