Wednesday, March 21, 2007

Titlebar Icon of a JFrame

This program demonstrates How to change the icon at the titlebar of a JFrame.
First you have to get the image object from the specified url, then by using setIconImage(url) of JFrame you can set the titlebar icon.

Click Here to view the code

No comments: