Dock icon and app name on Mac

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Janak Mulani
Posts: 726
Joined: 24 Mar 2020, 13:37

Dock icon and app name on Mac

Post by Janak Mulani »

On Mac, with Java Web Start the app name is the name of the Jnlp application as shown below:
JWS.PNG
JWS.PNG (152.96 KiB) Viewed 4331 times

Also the Dock icon is the Application's icon.

With OWS the app name is shown as "Boot" and Java's Duke is shown as Dock icon:

OWS.PNG
OWS.PNG (184.44 KiB) Viewed 4331 times

Janak Mulani
Posts: 726
Joined: 24 Mar 2020, 13:37

Re: Dock icon and app name on Mac

Post by Janak Mulani »

On Mac, for an application started by Java, the name of the main class is shown in the Main menu bar.

It appear that Oracle JWS directly starts the Jnlp application main class with java and hence you see the name of the Jnlp main class in the Main Menu Bar.

OWS on the other hand starts the Jnlp application in two-phased manner. It starts with java an internal class called Boot. The Boot class in turn loads the Jnlp application main class through reflection and runs it. This is the reason why you see Boot in the Main Menu.

Same could be the reason for the difference in the display of Icon.

We will investigate if this can be improved.

If you really need this feature as part of your branding then may be you can consider sponsoring the feature by writing to us a openwebstart@karakun.com.

Thanks

Janak

Post Reply