This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257957 - Not able to set custom icon for JavaFX exe.
Summary: Not able to set custom icon for JavaFX exe.
Status: RESOLVED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 09:47 UTC by shilpa1990
Modified: 2017-05-10 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shilpa1990 2016-02-12 09:47:35 UTC
Not able to set custom icon for JavaFX exe. Used <fx:icon> for setting icon but it is not reflecting.
Please help with the issue.
Comment 1 Tomas Zezula 2017-05-10 12:02:56 UTC
Do not modify the generated build script.
In the Project's Properties of the JFX Project select Build/Deployment category.
Select Enable Native Packaging
And click 'Edit' in Icons and Splash Image
Add a path to "Native Package Icon"

On Mac the icon has to be ICNS.
On Windows probably ICO. Also on Windows the JavaFX packager (JDK component) requires WiX 3.0+ and Inno Setup 5+ installed on PATH.