This discussion is archived
13 Replies Latest reply: Dec 4, 2012 3:14 AM by 930592 RSS

How to change JavaFx native Bundle exe icon

631145 Newbie
Currently Being Moderated
I am trying to chance the icon of the exe file created native bundling of javafx packaging but it still contains the default icon. Please suggest

primaryStage.getIcons().add(FileUtility.loadImage("icon.png"));

did not help, it only changes the title bar and task bar icon.
The ico file still gets generated and icon of the exe files remains the default one

http://i.stack.imgur.com/YHvtN.png

I also tried to assign an icon in the project properties-> Deployment-> icon but did not help

stackoverflow

Edited by: Neil Ghosh on Nov 12, 2012 3:34 PM

Added screenshot

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points