Can I use an JPEG or GIF image as a background in JPanel?
posted 15 years ago
There is not a method in this class to set the background image for a JPanel. You will probably have to override paint() in your JPanel to achieve this. You may get some ideas from this discussion on Sun's web site.