Search code examples
javanetbeansiconsdesktop-applicationtitlebar

change icon displayed in title bar for a java desktop app


I have a Java Desktop Application project created with NetBeans. The icon that is displayed in my main window's titlebar, by default, is the java logo. The same logo is displayed when I minimize this window to the Taskbar.

I would like to change this icon with one specific to my application, but didn't find how.

Thanks


Solution

  • Please have a look at these links:

    how-do-i-change-the-default-application-icon-in-java
    how-do-i-set-an-applications-icon-globally-in-swing