I want to display an image using swing. How do I add the image to a jpanel or jframe? I've tried finding a way to do it with Image and ImageIcon with no success. A link to the right information would be fine.
"If I want a group decision I'll look in a mirror" - Warren Buffett
First of all, I am am very new in using Swing components and I am learning under fire. You recommedation works for 1.4 JDK. Is there a different way for JDK 1.3? I am having a similar problem with the same subject, but in JDK 1.3. I do not have the ImageIO class available to me. My problem is simple, the images are not displaying.