wood burning stoves 2.0
The moose likes Swing / AWT / SWT and the fly likes ICONs in JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ICONs in JFrame" Watch "ICONs in JFrame" New topic

ICONs in JFrame

Sameera Abeysinghe
Ranch Hand

Joined: Nov 15, 2004
Posts: 104
Hi all,
Can any one tell me how can I set the icon of my application
I am using JDK 1.4 and JFrames
Thanks a LOT.
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Here is a thread that may help you: link.


blog - InfoQ.com
kiran raja

Joined: May 11, 2004
Posts: 22
the method to set frame Icon is :

frame.setFrameIcon(new ImageIcon(image));

call this method in the constructor.

I agree. Here's the link: http://aspose.com/file-tools
subject: ICONs in JFrame
It's not a secret anymore!