Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image

Status
Not open for further replies.

napoleao

IS-IT--Management
Feb 20, 2002
172
PT
Anyone know how to insert a simple background picture in your form, I have looked everywhere for help but without luck.
 
You can use a label to bring in an image as follows:

There is no property setting in the properties window for image so the image must be loaded into the label through code using the following:

jLabel1.setIcon(new ImageIcon("L:/pictures/myPicture.JPG"));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top