custom logo
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, September 4, 2002 01:36 AM

How can i place a custom logo in java swing frame in place of "java logo" on the left corner?

Re: custom logo

Posted By:   Keith_Sutton  
Posted On:   Friday, September 13, 2002 06:49 AM


URL url = yourclass.class.getResource"/location/ofyour/image/image.gif");
Image img=Toolkit.getDefaultToolkit().getImage(url);

//sets the icon for the frame
this.setIconImage(img);
About | Sitemap | Contact