[8u-dev] Review request: RT-2298: Mac: implement -Xdock:name support in Glass

Morris Meyer morris.meyer at oracle.com
Fri Mar 6 20:51:26 UTC 2015

Kevin, David, Danno and Chien,

Please review these changes to add Mac system menu bar naming support to 
JavaFX based on the JavaRuntimeSupport foundation that the JDK uses for 
-Xdock:name via JRSAppkitAWT methods.

On the Mac the application name needs to be available prior to the 
runLoop being viable.  I have made modifications to PlatformImpl to 
differentiate between application class and startup application name to 
provide a route to pass this information into the toolkit startup() 
sequence a priori.

The rest of the changes provide named startup.

The nice part about this change is that we get an immediate system menu 
activation with the application name prior to any Stages getting loaded, 
laid-out and shown, which gives the user an immediate notification of 
the application launch.



JIRA - https://javafx-jira.kenai.com/browse/RT-22988
WEBREV - http://cr.openjdk.java.net/~morris/RT-22988.01
WEBREV - http://cr.openjdk.java.net/~morris/DEPLOY-22988.01

More information about the openjfx-dev mailing list