This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi. In my apps I have done this by defining a class which extends JPanel and then over-riding the paintComponent() method
where bi is a BufferedImage containing the image file you want to use, x and y describe the origin of the corner of the image, width and height are the dimensions of the image on the JPanel, and 'this' is used as an ImageObserver object. Hope this helps!