wood burning stoves*
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
Author

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.

--
./pope
[the_mindstorm]


blog - InfoQ.com
kiran raja
Greenhorn

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

frame.setFrameIcon(new ImageIcon(image));

call this method in the constructor.


-Kiran
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ICONs in JFrame
 
Similar Threads
Idle's mind is a devils workshop
Testing
May 31, 2001 - test Job Offer $xxx,xxx Colorado Springs
No Banner for JSF book promo?
Brain Teasers