Hi,

when i run my java program it has that little java coffee cup image in teh task bar. All my apps have this. i guess its default. How do you set that to something custom? i cant seem to come up with teh proper name for what that image is called so googling hasnt helped.

thanks
Mike

Recommended Answers

All 3 Replies

setIconImage(myIconImage) on your main JFrame.

in jrame class you set like this..

ImageIcon jIcon = new ImageIcon(Url);

this.setIconImage(jIcon.getImage());

thanks i got it working. little things like that make a bit of a difference.

Mike

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.