Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   How to add an image in a JPanel? (http://www.domainnameforum.org/showthread.php?t=141966)

Java 02-09-2011 01:05 PM

How to add an image in a JPanel?
 
I want to load an image for each different shoe and I'm using JLabel to help me do this. I put the image's path in the JLabel constructor but when the code runs, it doesn't display any image. Instead of an image, the image path is written. appreciate any help and suggestion


All times are GMT -4. The time now is 03:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.