File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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 ?