aspose 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
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: 10360
    
    8

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