The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Application Icon ...

Posted by Tim Jowers on March 22, 2001 at 9:05 AM

// Set up the icon for the sys tray and alt-tab list
// ToDo: move into clcontstants.java (need access to source tree)
setIconImage(new ImageIcon(ClConstants.ICONFILENAME).getImage());

Well, that is on a per Frame basis... still trying to figure out how to set it for the app in general. I dumped the Look and Feel keys and am trying them to no avail. The LaF setting for DesktopIcon.icon seems like that should be it but has not worked yet. Let me know if you figure this out.

Tim


> Hello,
> I was wondering anyone can help me change the coffee
> cup icon in the upper left hand of the window (frame).

> I don't the steps needed to create the icon or implement
> that part of the java application I am currently working on.

> Thanx in advance.
> dygytalnomad






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us