permaculture playing cards*
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

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 "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 -
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.

jQuery in Action, 2nd edition
subject: ICONs in JFrame
Similar Threads
No Banner for JSF book promo?
Idle's mind is a devils workshop
Brain Teasers
May 31, 2001 - test Job Offer $xxx,xxx Colorado Springs