dcsimg
How to replace the Java Cafe Icon with another one?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kwangshi_Shu
Posted On:   Saturday, September 29, 2001 09:40 AM

I am writing a Java program and want to replace the Java Cafe icon, that appears on the top left corner, with my own company's logo. Can somebody show me how to do it?
Thanks.

Re: How to replace the Java Cafe Icon with another one?

Posted By:   pino_scaramozzino  
Posted On:   Friday, October 5, 2001 09:17 AM

You can use the setIconImage() method.

First, create the image.

Image myImg = Toolkit.getDefaultToolkit().getImage("yourlogo.gif");


Then use the setIconImage() to change the icon.

this.setIconImage(myImg);
About | Sitemap | Contact