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

Mac: disable app from showing up in dock icon if not a TaskBarApplication

XMLWordPrintable

      RT-21756 provides internal API that is called by deploy code to set whether an application should or should not show up in the task bar (as a dock icon). This is communicated to glass by setting the com.sun.glass.taskbarApplication system property to false if the application is not a taskbar app and leaving it unset (by default) if it is a taskbar app:

      Glass can read this as follows:

          String taskbarAppProp = System.getProperty("com.sun.glass.taskbarApplication");
          boolean isTaskbarApp = !"false".equalsIgnoreCase(taskbarAppProp);

      Note that if the property is not set it should default to true.

            gziemski Gerard Ziemski
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: