aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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());
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: changing the java coffee cup icon?
 
Similar Threads
what is the first thing you do after coming to office?
Changing the coffee cup icon of a Java Application!
Replacing the "java cup" with own image in title bar
AWT/SWING
What is Coffee Cup Symbol of Java Means?