This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes changing the java coffee cup icon? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "changing the java coffee cup icon?" Watch "changing the java coffee cup icon?" New topic
Author

changing the java coffee cup icon?

tomo black
Greenhorn

Joined: Mar 01, 2004
Posts: 11
hi, i'd like to replace the java coffee cup icon from the title bar of my application and replace it with one of my own. does anyone know how?
thanks
tomo
ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
Originally posted by tomo black:
hi, i'd like to replace the java coffee cup icon from the title bar of my application and replace it with one of my own. does anyone know how?
thanks
tomo

setIconImage(new ImageIcon("your image").getImage());
 
GeeCON Prague 2014
 
subject: changing the java coffee cup icon?