Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ICONs in JFrame

 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a thread that may help you: link.

--
./pope
[the_mindstorm]
 
kiran raja
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
the method to set frame Icon is :

frame.setFrameIcon(new ImageIcon(image));

call this method in the constructor.


-Kiran
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic