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 set an Image Icon in the title bar of a JPanel 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 "How to set an Image Icon in the title bar of a JPanel" Watch "How to set an Image Icon in the title bar of a JPanel" New topic
Author

How to set an Image Icon in the title bar of a JPanel

Debendra nayak
Greenhorn

Joined: Mar 28, 2008
Posts: 7
Hi,
I am using JPanel to design my application.
My application shows the java icon in the title bar while running.
I want to set an image icon in place of java icon along with the title
in the title bar.So, could anyone please help me to solve this issue.

Thanks & Regards,
Debendra
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Originally posted by Debendra Blr:

I am using JPanel to design my application.
My application shows the java icon in the title bar while running.
I want to set an image icon in place of java icon along with the title
in the title bar.So, could anyone please help me to solve this issue.

Thanks & Regards,
Debendra


JFrame#setIconImage(Image image)


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set an Image Icon in the title bar of a JPanel
 
Similar Threads
HELP - JDialogs!
Replacinf Java cup icon of JFrame and changing default folder look in JTree
J2me Application Icon and title bar ImageIcon
changing the java coffee cup icon?
How to set icon at net beans