From: Andreas Ernst <[email protected]>
> I use this, i start my App at the moment from the Project/bin
>
> default_options="--branding tachyon -J-Xms256m -J-Xmx256m 
> -J-Dapple.laf.useScreenMenuBar=true
> -J-Dapple.awt.graphics.UseQuartz=true
> -J-Xdock:icon=$progdir/../$APPNAME/applicationIcon.icns
> -J-Xdock:name=Tachyon"
>
> The icon is not shown, and the dock name is still java.
> Maybe you can investigate a little bit.

I have made some progress.  In the myapp.conf file, I have the following 
setting:

default_options="--branding prosuitena
-J-Xms512m -J-Xmx1024m
-J-Dsun.java2d.d3d=false
-J-Xdock:icon=/Applications/${APPNAME}.app/Contents/Resources/icon.icns
-J-Xdock:name=\"ProSuite NA\""

I was able to successfully set the dock icon and prevent it from changing to 
the generic java icon with the above -J-Xdock:icon setting.

The above -J-Xdoc:name option does not change the name that pops up when the 
mouse hovers over the app icon in the dock, but IT DOES change the name shown 
beside the apple icon in the Finder menu at the top of the screen.

I have also been searching for some documentation on the list of variables 
(like ${HOME} and ${APPNAME}) that are supported in the myapp.conf file, but I 
haven't been able to find one.

Also, Apple now states that the PNG format should be used instead of ICNS.  I 
copied PNGs into my app and modified the settings to use them, and they do work 
in 10.15 Catalina.
https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

Again, this is all with Netbeans 8.2 with OpenJDK 8u212-b04.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to