wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how  to change Java icon in frame ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how  to change Java icon in frame ?" Watch "how  to change Java icon in frame ?" New topic
Author

how to change Java icon in frame ?

Calanthe Wei
Ranch Hand

Joined: Oct 27, 2001
Posts: 42
Hi, All
I build up a frame with swing and want to change the Sun java icon on the left top of the frame to other image. Did anyone happen to know how to do that?
I really appreciate it.

Calanthe
Alex Ku
Ranch Hand

Joined: Jan 15, 2002
Posts: 47
Hi,
JFrame f = new JFrame();
f.setIconImage(new ImageIcon("imageFile").getImage());
kawaii
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change Java icon in frame ?
 
Similar Threads
change the icon of .jar file
How to change icon
Changing the coffee mug icon on the frame
change java icon swing
How to change the icon of the frame