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.