Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change JavaFx native Bundle exe icon

neilghoshNov 12 2012 — edited Dec 4 2012
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2013
Added on Nov 12 2012
13 comments
4,208 views