Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289233

Add system tray icon support on Linux

    XMLWordPrintable

Details

    • x86_64
    • linux_ubuntu

    Description

      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


      Attachments

        Activity

          People

            kizune Alexander Zuev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: