The other day I encountered such a problem: I created an artifact in IntellijIdea 2016. the program gave me an installer and the .exe file was ready. The question is, how to change the icon of the resulting executable file to its own and not to the default one? Where can I find these settings of the artifact, where can I change the icons and do they exist?

Raised to the main page by a community spirit member 2 days ago .

This question contains answers that can be both good and bad; the system offered them for verification.

    1 answer 1

    Put down your custom icon, you can pass the desired icon to the main stage your application.

     stage.getIcons().add(new Image("path/to/icon")); 
    • one
      This is a change of the icon inside the program, but I need to change the icon of the exe itself - Dmitry Lin