Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configure native build to use icon and splash; JavaFX FXML app

 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Crossposted: https://community.oracle.com/message/13869134#13869134.

I have tried in NetBeans to configure icon and splash for native build (self-contained) but with no effect. Actually I am not able to configure splash even for classic jar (but icon I am able to).

I have found some information maybe splash in JavaFX is only available for WebStart, isn't it?

I am building JavaFX FXML app.

Normally I am setting icon in code so for jars there is icon provided. Also I have found some solution for splash but all of them has to be coded (e.g. https://gist.github.com/jewelsea/2305098).

I have also found some information that exe installer from Inno Setup could use custom icon (http://stackoverflow.com/questions/31298015/include-icon-in-self-contained-javafx-application). This solution I can not use in my case.

Ant task part:



Only way I am able to use splash is via VM options.

Very weird is that after installation app shortcut uses coffee cup icon (also used in installed programs list) but if I want to change icon of shortcut there is only one option. Icon specified in ant task (so icon is included in installation).

So how can I specify custom icon for Inno Setup? How can I set application icon for Window system?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic