wood burning stoves
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 Elasticsearch in Action this week in the Big Data 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: 4761

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.
It is sorta covered in the JavaRanch Style Guide.
subject: add background image in JPANEL