Creating a desktop icon using JWS JNLP for a JavaFX app

前端 未结 5 928
傲寒
傲寒 2021-01-13 00:53

I am trying to get a custom destop icon to be displayed for my app but for some reason no matter what I do the same default java icon shows up. I have tried everything I can

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-13 01:52

    There's an example of how to do this in the JavaFX in Action book, if you have access to that. You need to make sure the res/icon64x64.png file is actually downloadable from whatever site the app is hosted on, relative to the JNLP's location. Try loading it directly in a browser to ensure its available/valid.

提交回复
热议问题