Here's a suggestion. Using the JLabel as Gregg recommended is the easy way. You can use methods in the JLabel api such as setBorder and setPreferredSize to dress it up. The second possibility is for more specialized (advanced) work and with this you can draw graphics on/with the image.
The ImageIo class is new with the J2SE 1.4 release so if you are using an older version of java it won't work. In that case we can use the MediaTracker class to load the image.
We are more than happy to help. But no one is going to just give you the code. Especially since this smells of homework. What have you tried? Have you even writtten a line of code yet? That's the first step.
The next step would be to go through the JLabel Tutorial. That should be enough to get you going. When you have attempted this yourself, if you are still having problems, show us the code and tell us what problems you are having.
I hate to interrupt this thread with a modifying question, but out of curiosity, coming from VB, I'm used to binding an image to a picture/image control then adding it to a form (jframe/window) - so, binding an image to a label control i.e. class, seems quite odd. Is there a way to setup an image and add it to a panel directly? - I tried and there is no contructor for an image/imageicon class. It's seems the best way to do this, if not, would be to extend image and make a pseudo class "image control" using canvas/imagecanvas? Is it possible to extend a JPanel and set up a constructor for a class such as ImageIcon? The API from sun is less than helpful on details...as well as on most other class/instance methods - it's as if your expected to know exactly what they mean when they provide a terse explantion of instance/class functionality - a small gripe, but nonetheless it would make development exceedingly easier for newcomers if examples, and a better descriptor was added per class/method (aside from the obvious stuff like ".setBounds(),.setSize(), etc...")
Thanks! It's great to be here and that there is a friendly community for Java related development to turn to. Hopefully, within a year, I'll be able to contribute to helping others as well in a more knowledgeable way.