aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to insert image logo on Jframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to insert image logo on Jframe" Watch "How to insert image logo on Jframe" New topic
Author

How to insert image logo on Jframe

panumarch anantachaiwanich
Greenhorn

Joined: Jan 02, 2009
Posts: 6
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...


I'm not good at English. So sorry for my strange writing.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
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
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

By "logo" if you mean the small icon which you typically get on the top left of the frame's title bar, check out

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to insert image logo on Jframe