One of the ways to customize your Java Desktop application and give it a more professional look is by adding an icon to it.
The icon will be used when the application is running, displayed in places like the task bar or when the user switches the application and the icons are displayed on the tab-switch.
For the purposes of this recipe, we will use an image in PNG format.
The image we will use for this recipe is the following:
It is necessary to have the sources of a Java Desktop recipe in your NetBeans project folder. Many of the files created in this recipe are a result of the previous ...