• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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)
reply
    Bookmark Topic Watch Topic
  • New Topic