File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "add background image in JPANEL" Watch "add background image in JPANEL" New topic
Author

add background image in JPANEL

Rishabh Rathi
Greenhorn

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

Joined: May 03, 2008
Posts: 4952
    
    8

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.
http://www.coderanch.com/t/530543/GUI/java/code


luck, db
There are no new questions, but there may be new answers.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: add background image in JPANEL
 
It's not a secret anymore!