dcsimg
How do I replace the Java cup icon for my application ?
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Geetha_Srinidhi
Posted On:   Tuesday, August 28, 2001 10:49 PM

How do I replcae the Java cup icon which appears at the left hand top corner of any application or dialog box to a different one?

Re: How do I replace the Java cup icon for my application ?

Posted By:   Geetha_Srinidhi  
Posted On:   Wednesday, August 29, 2001 09:16 PM

Thanks to all of you. It worked.

Re: How do I replace the Java cup icon for my application ?

Posted By:   Briti_Nandy  
Posted On:   Wednesday, August 29, 2001 10:50 AM

frame.setIconImage(new ImageIcon("someicon.gif").getImage());

Re: How do I replace the Java cup icon for my application ?

Posted By:   Prashanth_Godey  
Posted On:   Wednesday, August 29, 2001 09:59 AM

Try this to replace the icon from frame.....



Toolkit tk = Toolkit.getDefaultToolkit();
Image im = tk.getImage("Dvw_dsgn.gif");
frame.setIconImage(im);


Re: How do I replace the Java cup icon for my application ?

Posted By:   sai_reddy  
Posted On:   Wednesday, August 29, 2001 12:44 AM

ImageIcon icon = new ImageIcon ("C:\ICONS\sample.gif" );
this.setIconImage( icon.getImage());
About | Sitemap | Contact