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

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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: