File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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

How to insert image logo on Jframe

panumarch anantachaiwanich

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

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: 10836

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!]
I agree. Here's the link:
subject: How to insert image logo on Jframe
It's not a secret anymore!