How to change default java logo exe icon on the taskbar in javafx?
问题 I made a JavaFX application on Netbeans and I put this code for setting the icon to the window primaryStage.getIcons().add(new Image("file:sicadcam.png")); and when I run the project from Netbeans, it works ok: the icon appears on the window and in the taskbar. where I have to put the image. When I clean and build the project, it generates two installers: one exe and one msi; and when I install the application and open it, the window doesn't have the icon sicadcam.png, it has the default java