JDK-8090951 : Mac: glass doesn't support -Dapple.awt.UIElement and -Xdock:name
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: window-toolkit
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2011-03-31
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Prism runtime on mac doesn't support those properties which are used to setup the mac menu and to hide icon from the dock. Those properties should be recognized as they are very important for UI of an application and are common in java applications on OSX
 
"-Dapple.awt.UIElement=true"
"-Dapple.laf.useScreenMenuBar=true"
"-Xdock:name=Title"
Comments
Correct, which makes #2 a non-issue. My inclination is close this JIRA as "Won't fix". The support for -Xdock:name is already tracked by RT-22988 so that only leaves #1 which I don't think we want to do.
09-03-2015

System menu support is implemented in JavaFX on the Mac.
09-03-2015

#1 may be applicable to JFX, however, the property name would certainly need to be changed for JFX, since there is no AWT #2 is not applicable to JFX. #3 -Xdock:name is tracked by http://javafx-jira.kenai.com/browse/RT-13010 With just #1 left, in this case the priority would certainly need to be lowered and pushed out of 2.1 release to Lombard or later.
13-12-2011

#1 The apple.awt.UIElement system property can be set to allow Java applications to launch without a Dock icon #2 apple.laf.useScreenMenuBar When using the Aqua look and feel, this property puts Swing menus in the Mac OS X menu bar. Note that JMenuBars in JDialogs are not moved to the Mac OS X menu bar. The default value is false. #3 -Xdock:name=applicationName Sets the name to display in the Dock and in the menu bar. By default Mac OS X displays the fully qualified name of the main class unless you specify otherwise. You need to use this only for applications launched from the command line or from a JAR file. Double-clickable application bundles get the appropriate name from the Info.plist file. References: http://developer.apple.com/library/mac/#documentation/Java/Reference/Java14VMOptions/VM_Options/VM_Options.html http://developer.apple.com/library/mac/#releasenotes/Java/JavaLeopardUpdate2RN/Introduction/Introduction.html
12-12-2011

SQE: 3 days of test development if manual
02-12-2011

Same issue for -Xdock:icon
04-10-2011

This is a feature request for Glass, not a bug. Assign to Gerard to evaluate how difficult this would be to implement. Currently uncommitted for Presidio (Mac is not a GA deliverable).
31-03-2011