sharing everything

Java JFrame change Icon

I have learn about GUI programming using java this week. I have created a simple window (using JFrame) and get the default icon in titlebar is a default java icon. But, I dont like this default icon image and want to change with another image.

This is a complete code how to change JFrame icon image

This is the Program Window result after JFrame change the icon

jframechangeiconDownload the complete source code how JFrame change the icon below.

Source code : jframeChangeIcon.zip

Hi,
This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.

No Comments Yet

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Categories

Bloggers - Meet Millions of Bloggers