This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JFrame  RSS feed

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we change the java icon in the title
bar ( Top left) of JFrame to a custom icon. company logo.
Used JDK to code though!!!
Selvan
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Selvan tiru:
How do we change the java icon in the title
bar ( Top left) of JFrame to a custom icon. company logo.
Used JDK to code though!!!
Selvan


This isn't my area of expertise, but I believe you can use the setIconImage method inherited from from Frame.
I hope that helps,
Corey
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you need more help, click the link. You can also do a search in the swing forum. This has been asked a few times there.
 
To do a great right, do a little wrong - shakepeare. twisted little ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!