Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to insert image logo on Jframe  RSS feed

 
panumarch anantachaiwanich
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how to insert image logo to my GUI on JFrame.

And I think I may draw it on ScrollPanel.

But there is border on ScrollPanel, so it look strange.

Moreover I think that it's strange way to do it.

Does anyone has ideas about this?

Thank you very much...
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps this may help you: Background Image on a JPanel

Once you've created this JPanel, simply make it the JFrame's contentPane.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "logo" if you mean the small icon which you typically get on the top left of the frame's title bar, check out
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!