O'Reilly logo

NetBeans IDE 7 Cookbook by Rhawi Dantas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a customized icon for your application

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.

Getting ready

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:

Getting ready

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required