Can someone please tell me how to get an image into a panel. I am using JBuilder to create my GUI. There doesn't seem to be a bean that is used exclusively for images. If you can tell me how to do it through Jbuilder, that would be great. If not I would even greatly appreciate the code that would do it. I tried using the setIcon method for a label but it wasn't working. I'm not sure how it wants me to list my file directory within the method.
Please help. I am a first time teacher of Java and would love to use graphics to enhance my students interest in programming.
Please help. I am a first time teacher of Java and would love to use graphics to enhance my students interest in programming.