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 add background image in JPANEL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "add background image in JPANEL" Watch "add background image in JPANEL" New topic

add background image in JPANEL

Rishabh Rathi

Joined: Mar 07, 2011
Posts: 13
can i add any background image in jpanel?If yes,then please give any example
Darryl Burke

Joined: May 03, 2008
Posts: 4808

We have this page here on the Ranch that explains it. Did you SearchFirst?

Oh, and I'm still waiting to know what a textbox is, and whether its setText method accepts a File.

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: add background image in JPANEL